C Keywords:-
1. Keywords are the words whose meanings are already exist in the compiler.
2. Keywords can not be use as variable names.
3. Keywords are also called “Reserved words”.
4. There are only 32 keywords available in C.
“auto, double, int, struct, break, else, long, switch,
case, enum, register, typedef, char, extern, return, union,
const, float, short, unsigned, continue, for, signed, void,
default, goto, sizeof, volatile, do, if, static, while”
Identifiers:-
Identifiers are names which given to elements of a program such as variables , arrays & functions. Basically identifiers are the group of alphabets or digits.
Rules for making identifier name
1. the first character of an identifiers must be analphabet or an underscore
2. all characters must be letters or digits.
3.There is no special characters are allowed except the underscore"_".
4. There is no two underscores are allowed.
5. don't use keywords as identifiers.
2. Keywords can not be use as variable names.
3. Keywords are also called “Reserved words”.
4. There are only 32 keywords available in C.
“auto, double, int, struct, break, else, long, switch,
case, enum, register, typedef, char, extern, return, union,
const, float, short, unsigned, continue, for, signed, void,
default, goto, sizeof, volatile, do, if, static, while”
Identifiers:-
Identifiers are names which given to elements of a program such as variables , arrays & functions. Basically identifiers are the group of alphabets or digits.
Rules for making identifier name
1. the first character of an identifiers must be analphabet or an underscore
2. all characters must be letters or digits.
3.There is no special characters are allowed except the underscore"_".
4. There is no two underscores are allowed.
5. don't use keywords as identifiers.
Post a Comment