Identifiers in C-Language


 Definition:

The Identifiers is only used to identify an entity uniquely in a program at a time of execution.

An Identifiers is nothing but a name assigned to an element in a program.

For Example:

             Name of Variable, function, etc.

Identifiers in C language are the user-defined names consisting of 'C' standard character set.

Each Identifiers must have a unique name.


Rules for making an Identifiers:


Following Rules must be followed for Identifiers:-


  • The first character must always be an alphabet or an underscore ( _ ).
  • It should be formed using only letters, numbers, or underscore.
  • A keyword cannot be used as an Identifier.
  • It should not contain any whitespace character.
  • The name must be meaningful.


Comments

Popular Posts