(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: {|...")
 
(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}}
| align="center" style="background:#f0f0f0;"|'''auto'''
+
| 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||
|-
 
| 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
 
 
|-
 
|-
 
|  
 
|  

Revision as of 14:17, 18 June 2014

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:

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



blog comments powered by Disqus

Keywords in C[edit]

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
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



blog comments powered by Disqus