What is a token?

C Programming Language >   Overview of C Language >   Tokens in C  

Long Question

894


Answer:

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

  1. Identifiers: Identifiers refer to the name of the variables.
  2. Keywords: Keywords are the predefined words that are explained by the compiler.
  3. Constants: Constants are the fixed values that cannot be changed during the execution of a program.
  4. Operators: An operator is a symbol that performs the particular operation.
  5. Special characters: All the characters except alphabets and digits are treated as special characters.


This Particular section is dedicated to Question & Answer only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.