Computer Science, asked by renakumarisingh, 2 days ago

what are tokens ? name all the types​

Answers

Answered by krupa212010106
1

In general, a token is an object that represents something else, such as another object (either physical or virtual), or an abstract concept as, for example, a gift is sometimes referred to as a token of the giver's esteem for the recipient. In computers, there are a number of types of tokens.

A token is divided into six different types, viz, Keywords, Operators, Strings, Constants, Special Characters, and Identifiers.

Answered by maryam185
0

Answer:

Tokens are the smallest elements of a program, which are meaningful to the compiler. The following are the types of tokens: Keywords, Identifiers, Constant, Strings, Operators, etc.

Similar questions