Keywords in C Programming

0
In C programming, a keyword is a reserved word that has a specific meaning to the compiler. The list of keywords in C programming includes:

auto, break, case, char, const, continue, default, do, double, else, enum, extern, float, for, goto, if, inline, int, long, register, restrict, return, short, signed, sizeof, static, struct, switch, typedef, union, unsigned, void, volatile, while, _Alignas, _Alignof, _Atomic, _Bool, _Complex, _Generic, _Imaginary, _Noreturn, _Static_assert, _Thread_local

These tokens are case sensitive and are reserved for use as keywords in translation phases 7 and 8. They should not be used for any other purpose. For instance, the keyword `_Imaginary` is reserved for specifying imaginary numbers.

It's important to note that there is an additional category, placemarkers, which is used internally in translation phase 4. However, it cannot occur in source files.
Tags

Post a Comment

0Comments
Post a Comment (0)