Saturday, 5 October 2013

C Keywords (Reserved Words)


Keywords (Reserved Words) The meaning of some words is reserved in a language. For example:  do, while, for, if, break, etc.

C keywords are the words that convey a special meaning to the c compiler.  The programmer can use these words in predefined manner. These are called keywords or reserve words.  The keywords cannot be used as variable names because by doing so, we are trying to assign a new meaning to the keyword which is not allowed.

The list of C keywords is given below:

auto
break
case
char
const
continue
default
do
double
else
enum
extern
float
for
goto
if
int
long
register
return
short
signed
sizeof
static
struct
switch
typedef
union
unsigned
void
volatile
while

No comments:

Post a Comment