What is output of lexical analyzer?
2021
What is output of lexical analyzer?
Answer: A. Tokens — A lexical analyzer (scanner) reads source code and breaks it into tokens such as keywords, identifiers, operators, literals, etc. Hence, its output is tokens .
- A.
Tokens
- B.
Data types
- C.
Code
- D.
None of the above
Attempted by 960 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 .
Loading lesson…