Pre Defined Keywords in C

Any programming language has a set of pre defined keywords which could not be used in any other form or any other purpose. Any program in C is constructed from a set of reserved keywords. The basic instructions which setup the purpose command for compiler are derived from these keywords. The pre-defined keywords can be only used for their intended purpose. The meaning of keywords is already communicated to the compiler.

In C we have total of 32 keywords which are as follows:

Function

Keywords: void, return

Data Types

Keywords: int, char, float, double

Loop

Keywords: for, while, do

Decision

Keywords: if, else, switch, case, default

Jump

Keywords: goto, continue, break

Qualifiers

Keywords: signed, unsigned, short, long

User Defined

Keywords: typedef, enum

Storage Classes

Keywords: auto, extern, register, static

Derived

Keywords: struct, union

Other

Keywords: const, volatile, sizeof

We will read about each of them in following tutorials.

Leave a Reply

Your email address will not be published. Required fields are marked *