Identifiers in c language

Identifiers are the names assigned to any variable or a constant, which is used to identify the variables or constants in the C language.

Rules for Constructing Variable Names or identifiers name:

The rules to write an identifier name in C language are as follows:

  1. A variable name is any combination alphabets, digits or underscores.
  2. The first character in the variable name must be an alphabet or underscore.
  3. No commas or blanks are allowed within a variable name.
  4. No special symbol other than an underscore can be used in a variable name.