GATE CS 2020 · Question 19 · Compiler Design · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer
Consider the following statements.
(I) Symbol table is accessed only during lexical analysis and syntax analysis.
(II) Compilers for programming languages that support recursion necessarily need heap storage for memory allocation in the run-time environment.
(III) Errors violating the condition ' any variable must be declared before its use ' are detected during syntax analysis.
Which of the above statements is/are TRUE?
- (A) I only
- (B) I and III only
- (C) II only
- (D) None of I, II, and III
Answer
Answer (D)
Answer from the official GATE CS 2020 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes