WHAT IS KEYWORD IN C ?
KEYWORDS IN C
KEYWORDS(also known as 'reserved words') are the predefined/reserved words whose meaning and function are already known to the compiler.
Each KEYWORD has some specific task/functionality assocoated with it , for example "break"(to stop the process immediately and move out of a loop),int/float(datatype) etc.
keywords serves as building blocks in statements.
All keywords must be written in lowercase.
An important point to be mentioned is that a keyword cannot be used as an identifier.
There are 32 keywords available in c .having their respective functions.
Data types Qualifiers User-defined Storage Classes Loop Others
int signed typedef auto for const
char unsigned enum extern while volatile
float short register do sizeof
double long static
Decision Jump Derived function
if goto struct void
else continue union return
switch break
case
default
int signed typedef auto for const
char unsigned enum extern while volatile
float short register do sizeof
double long static
Decision Jump Derived function
if goto struct void
else continue union return
switch break
case
default
Comments
Post a Comment