Arjun Suresh (talk | contribs) (Created page with "==Keywords in C== Keywords are reserved words in C, which a programmer must not use for other purposes. In C11 standard there are totally 42 keywords which are as follows: {|...") |
Arjun Suresh (talk | contribs) (→Keywords in C) |
||
Line 2: | Line 2: | ||
Keywords are reserved words in C, which a programmer must not use for other purposes. In C11 standard there are totally 42 keywords which are as follows: | Keywords are reserved words in C, which a programmer must not use for other purposes. In C11 standard there are totally 42 keywords which are as follows: | ||
{| {{table}} | {| {{table}} | ||
− | | | + | | auto ||if||unsigned |
|- | |- | ||
− | | break | + | | break||inline||void |
|- | |- | ||
− | | case | + | | case||int||volatile |
|- | |- | ||
− | | char | + | | char||long||while |
|- | |- | ||
− | | const | + | | const||register||_Alignas |
|- | |- | ||
− | | continue | + | | continue||restrict||_Alignof |
|- | |- | ||
− | | default | + | | default||return||_Atomic |
|- | |- | ||
− | | do | + | | do||short||_Bool |
|- | |- | ||
− | | double | + | | double||signed||_Complex |
|- | |- | ||
− | | else | + | | else||sizeof||_Generic |
|- | |- | ||
− | | enum | + | | enum||static||_Imaginary |
|- | |- | ||
− | | extern | + | | extern||struct||_Noreturn |
|- | |- | ||
− | | float | + | | float||switch||_Static_assert |
|- | |- | ||
− | | for | + | | for||typedef||_Thread_local |
|- | |- | ||
− | | goto | + | | goto||union|| |
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | union | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | | | ||
|- | |- | ||
| | | |
Keywords are reserved words in C, which a programmer must not use for other purposes. In C11 standard there are totally 42 keywords which are as follows:
auto | if | unsigned |
break | inline | void |
case | int | volatile |
char | long | while |
const | register | _Alignas |
continue | restrict | _Alignof |
default | return | _Atomic |
do | short | _Bool |
double | signed | _Complex |
else | sizeof | _Generic |
enum | static | _Imaginary |
extern | struct | _Noreturn |
float | switch | _Static_assert |
for | typedef | _Thread_local |
goto | union | |
Keywords are reserved words in C, which a programmer must not use for other purposes. In C11 standard there are totally 42 keywords which are as follows:
auto | if | unsigned |
break | inline | void |
case | int | volatile |
char | long | while |
const | register | _Alignas |
continue | restrict | _Alignof |
default | return | _Atomic |
do | short | _Bool |
double | signed | _Complex |
else | sizeof | _Generic |
enum | static | _Imaginary |
extern | struct | _Noreturn |
float | switch | _Static_assert |
for | typedef | _Thread_local |
goto | union | |