Interviews Questions, Algorithms, Aptitude, C Interview Program, C Theory Question, Aptitude Tricks, Test Series,

Saturday 1 June 2019

Token


The Token is an identifier. It can be constant, keyword, the string literal, etc. A token is the smallest individual unit in a program. C has the following tokens:


  • Identifiers: Identifiers refer to the name of the variables.

  • Keywords: Keywords are the predefined words that are explained by the compiler.

  • Constants: Constants are the fixed values that cannot be changed during the execution of a program.

  • Operators: An operator is a symbol that performs a particular operation.

  • Special characters: All the characters except alphabets and digits are treated as special characters.

0 comments:

Post a Comment