What is token in C?
•Smallest unit in a program/statement.
•It makes the compiler understand what is
written in the program.
•Example: main, printf , name,), etc.
•Tokens are broadly classified as:
–Identifiers
–Keywords
–Constants
–Variables
–Strings
–Operators
–Special character
No comments:
Post a Comment