Keywords and identifiers in C language (module 6).
In this module we will discuss on the different keywords and identifiers used in C and difference between them.

Do you have similar website/ Product?
Show in this page just for only
$2 (for a month)

0/60
0/180
This is the 6th module on learning C with us. Earlier we discussed on the basic introduction and structure of C, preprocessor it's features, intermediate and executable codes. compilation process and execution process of a C program. ? In this section we will briefly discuss on the various keywords and identifiers used in C.
Identifiers :-
Difference between keywords and identifiers used in C :-
Keywords :-
Keywords are the words that are reserved by the C for specific purposes and may not be used as identifiers. The meaning of keywords has already been known to C compiler.

There are 32 keywords in C.

Names of the variables and other programs elements such as functions, array etc. are known as identifiers.
There are few rules that govern the way variable are named (identifiers) :-
1. Identifiers can be named from the combinations of A-Z , a-z , 0-9 , & , _ (underscore).
2. The first alphabet of the identifier should be either an alphabet or an underscore. Digit are not allowed.
3. It should not be keyword. Eg. name, ptr, sum.

The basic difference between keywords and identifiers is that keywords are inbuilt functions and identifiers are user made functions.
CONTINUE READING
Programming
coding
Learning #C
Dalpat I
Content writer