C Tokens

 Tokens in C is the most important element to be used in creating a program in C. We can define the token as the smallest individual element in C. For example, we cannot create a sentence without using words; similarly, we cannot create a program in C without using tokens in C.
Tokens are used to construct c programs and they are said to the basic building blocks of a c program.

Classification of tokens in C
 
In a c program tokens may contain the following...
  1. Keywords
  2. Identifiers
  3. Operators
  4. Special Symbols
  5. Constants
  6. Strings
  7. Data values
 





No comments:

Post a Comment