Question

Which of the following tasks is not typically performed by a lexer?

A Handling whitespace and comments
B Identifying keywords and identifiers
C Detecting syntax errors
D Removing redundant code
E None of these
Practice Next

Relevant for Exams:

Hey! Ask a query