Variable is name of memeory location which stored same data.
1. Variable (Container):
Rules:
a) Variable are case sensitive.
b) 1st character is alphabet or ‘_’.
c) No comma or black space.
d) No other symbol other than ‘_’ .
2.Data Type:
| No. | data type | size of bytes |
| 1. | char or signed char | 1 |
| 2. | unsigned char | 1 |
| 3. | int or signed int | 2 |
| 4. | unsigned int | 2 |
| 5. | short int or signed short int | 2 |
| 6. | unsigned short int | 2 |
| 7. | long int or signed long int | 4 |
| 8. | unsigned long int | 4 |
| 9. | float | 4 |
| 10. | double | 8 |
| 11. | long double | 10 |
3.keywords:
- Keywords are those words whose meaning is already defined by Compiler.
- Cannot be used as Variable Name.
- There are 32 Keywords in C.
- C Keywords are also called as Reserved words.
32 keywords
| auto | double | int | struct | break | else |
| long | switch | case | enum | register | typedef |
| char | extern | return | union | const | float |
| short | unsigned | continue | for | signed | void |
| static | goto | sizeof | do | while | volatile |
| default | if |