Token.

Q3. What is meant by token? Name the tokens available in C++.

Ans. The smallest individual unit in a program is known as a token.

C++ has the following tokens:

  1. Keywords,
  2. Identifiers,
  3. Literals,
  4. Punctuators,
  5. Operators.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: