Which of the following is an example of a token name in lexical tokenization?

“Identifier” is a token name that categorizes tokens representing names assigned by the programmer. 

Consider the code int sum = a + b;:

  • int is a Keyword token.
  • sum is an Identifier token.
  • = is an Operator token.
  • a and b are Identifier tokens.
  • + is an Operator token.
  • ; is a Delimiter token.

Each token is assigned a token name based on its type, such as Identifier, Keyword, Operator, Literal, etc. Token names help the compiler understand the structure and semantics of the source code during compilation.