The smallest individual units in a program are known as tokens.
C++ Program is written using these tokens, white spaces, and the syntax of the language.
They are explicitly reserved identifires and cannot be used as names for the program variables or other user defined program elements.
Example: break, while, case, switch etc
Identifiers refers to the names of variables, functions, arrays, classes etc. created by the programmer.They are fundamental requirement of the langugage.
There are following rules for creating the identifiers
- Only alphabates , digits and undersocre (_) are permitted.
- Name can’t be start with thr digit.
- Upper and lower case are different.
- A declared keyword can’t be used as a variable.