Question:

What is the output of lexical analyzer?

Show Hint

Lexical analysis converts character stream into token stream — input for syntax analysis.
Updated On: June 02, 2025
  • String character
  • A syntax tree
  • A set of regular expressions
  • A set of tokens
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Lexical analyzer processes source code and converts it into a stream of tokens — identifiers, keywords, symbols, etc.
Was this answer helpful?
0
0

TS PGECET Notification