Keywords In C Language


Keywords are the words whose meaning has already being explained to the C Compiler. Simply say, Keywords are Predefined words. The Keywords cannot be used as variable names because if we do so, we are trying to assign a new meaning to the keyword, which is not allowed by the compiler. Some compiler may allow, but it would be safer not to mix up the variable names and the keywords. The Keywords are also called ‘Reserved Words’. 

There are only 32 keywords available in C.

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

One thought on “Keywords In C Language”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s