What is output of lexical analyzer?
2022
What is output of lexical analyzer?
- A.
Tokens
- B.
Data types
- C.
Code
- D.
None of the above
Attempted by 570 students.
Show answer & explanation
Correct answer: A
A lexical analyzer (scanner) reads source code and breaks it into tokens such as keywords, identifiers, operators, literals, etc. Hence, its output is tokens .