Types of Tokens in C
The tokens of C language can be classified into six types based on the functions they are used to perform. The types of C tokens are as follows:
- Keywords
- Identifiers
- Constants
- Strings
- Special Symbols
- Operators
Tokens in C
A token in C can be defined as the smallest individual element of the C programming language that is meaningful to the compiler. It is the basic component of a C program.