Skip to main content

Keywords in C

Keywords are reserved words that have a special, predefined meaning in the C language. You cannot use them as identifiers (variable names, function names, etc.) because the compiler treats them as part of its syntax. There are 32 keywords defined in ANSI C.

List of C Keywords


Example


Common Keywords and Their Uses

Keywords are always lowercase in C. Writing INT or While is not a keyword — it would be treated as an identifier.