C Keywords

In this tutorial, you will learn about C keywords or reserve words that are parts of C syntax.


Keywords are reserved words that have special meaning to the compiler. Keywords cannot be used as an identifier name (variable name, constant name, etc). For example:

int count;

Here, int is a keyword that indicates that count is a variable of type int (integer).

C is a case-sensitive language. You need to specify all the keywords in lowercase in the program. C has 32 reserved words those are mentioned below.

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

All these C language keywords, syntax, and their application will be discussed in their respective chapters.

Please get connected & share!

Categories

Advertisement