BEST TUTORIAL FOR PROGRAMMING        
BEST TUTORIAL FOR PROGRAMMING

Keywords in C

What is keyword in C : Keywords are reserved or predefined words that have special meaning to the C compiler. Keywords have kept reserved for special tasks in C programming like int keyword that is used to declare an integer data type variable and meaning of these words can not be changed. We can not use keywords for variable names, function names, etc. All the C keywords are in lowercase. There are only 32 keywords in C.




List of keywords in C

All 32 keywords of C language are given below. Some of them we have already seen in previous sections (int, float, char, double, static, extern, etc) and rest we will see in coming sections.

Keyword Keyword Keyword Keyword
auto double int struct
break else long switch
case enum register typedef
const extern return union
char float short unsigned
continue for signed volatile
default goto sizeof void
do if static while