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

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)