C language : Variable, Identifier and Keywords

Share:
Variable, Identifier and Keywords

                                                               


Variables : - Variables are those whose values can be changeable during the execution of the program.

Identifiers : - Identifiers are the mnemonic or notation used for the denoting the variables.

Keywords : -  Keywords may be names as reserved variables. One can't declare variables of same name of keywords.


example :  In C language one can declare the variable

                                int a = 9;

  • 'Int' int is the keyword which tells the identifier 'a' which is a variable is of the type of integer.
  • a=9 means a is assigned with value 9.
  • ; It is the line terminator(End of line) which the terminates the lines. 

No comments