Question

What is the main purpose of a parser in a compiler?

A Identifying tokens in the source code
B Generating machine code from high-level code
C Checking for syntax errors and constructing the parse tree
D Transforming the source code into tokens
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)