Identifiers in C Language
Each user-defined entities or elements in a C program are given a name to identify it uniquely during the program execution are called identifiers. In other words, an identifier can be defined as the user-defined name is given to identify variable, function, array, pointer, structure or a label. The name of identifier name should not be same as keywords or keywords are not used as identifiers.
The rules for naming an identifier
• First character should be an alphabet or underscore.
• Succeeding characters might be digits, letters or underscore.
• Punctuation and special characters aren't allowed except underscore.
• It must not contain white-space.
• It should be up to 31 characters long.
• Identifiers should not be keywords.
E.g. :
char ch='A';
Here ch is a name given to char type variable in above statement.