Computer Science, asked by rajkumar8802420317, 9 months ago

what is meant by token?​

Answers

Answered by Anonymous
8

\huge\mathcal\red{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.

There are five categories of tokens: 1) constants, 2) identifiers, 3) operators, 4) separators, and 5) reserved words. For example, the reserved words "new" and "function" are tokens of the JavaScript language. Operators, such as +, -, *, and /, are also tokens of nearly all programming languages.

Answered by michaelnavant
2

Answer:

The smallest individual unit in a program is known as a Token.

Similar questions