Go to main content
Oracle® Developer Studio 12.5: C User's Guide

Exit Print View

Updated: June 2017
 
 

9.2 Keywords

The following tables list the keywords for the ISO C Standard, the Oracle Developer Studio ISO C compiler, and the Oracle Developer Studio C compiler.

The first table lists the keywords defined by the ISO C standard.

Table 122  ISO C Standard Keywords
_Alignas2
_Alignof2
_Atomic2
_Bool1
_Complex1
_Generic2
_Imaginary1
_Noreturn2
_Static_assert2
_Thread_local2
auto
break
case
char
const
continue
default
do
double
else
enum
extern
float
for
goto
if
inline1
int
long
register
restrict
return
short
signed
sizeof
static
struct
switch
typedef
union
unsigned
void
volatile
while

1 Defined with-std=c99 and -std=c11 only

2 Defined with -std=c11 only

The C compiler also defines one additional keyword, asm. However, asm is not supported in -pedantic mode.

Keywords in K&R Oracle Developer Studio C are listed in the following table.

Table 123  K&R Keywords
asm
auto
break
case
char
continue
default
do
double
else
enum
extern
float
for
fortran
goto
if
int
long
register
return
short
sizeof
static
struct
switch
typedef
union
unsigned
void
while