Introduction to Lexical Elements in C

Lexical elements are the elements in C that make up C source code after preprocessing. These elements are called tokens. There are five types of tokens: keywords, identifiers, constants, operators, and separators. White space, sometimes required to separate tokens,.

  Tokens - Tokens are the smallest individual unit of a program.


There are five types of Tokes

1) Identifiers

2) Keywords

3) Constants

4) Operators

5) Separators

White Space-White space, sometimes required to separate tokens.

woman avatar