The C keywords are reserved words by compiler. C Keywords are also called as Reserved words. The keywords can not be used as varible names because if we do so, we are trying to assign a new meaning to the keyword, which is not allowed by the computer. All the C keywords have been assigned fixed meaning.
The simple answer is with the help of keywords. In one of the above example I have used “int” keyword. Eg: int x=1
In this example “int” is a keyword and it will tell the computer that “x” will be an integer variable and it will only store integer constant.
There are 32 keywords available in C.
auto | double | int | struct |
break | else | long | switch |
case | enum | register | typedef |
char | extern | return | union |
const | float | short | unsigned |
continue | for | signed | void |
default | goto | sizeof | volatile |
do | if | static | while |