keywords in c language
- Keywords are the words whose meaning has already been explained to the C compiler.
- The keywords cannot 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.
- The C keywords are reserved words by compiler. C Keywords are also called as Reserved words.
- All the C keywords have been assigned fixed meaning.
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 |