Wednesday, 6 September 2017

Identifier C Language

Identifier is user defined name given to function, variable, structure, union, array etc. followings are rules to name an identifier.
  • Name must be start with alphabet or underscores
  • An identifier may have numbers but not used as first character
  • Special symbol is not allowed .

Valid Variable Name
Invalid Variable Name
A2
2A
_a
-a
A_B
A B
*a
A& (any special symbol)