GATE CS 2021 (Afternoon) — Question 13

Compiler DesignLexical Analysis & Parsing Architectures (LL(1), LR(1), LALR)MCQ1 mark · −1/3 if wrongEasy

Consider the following ANSI C program:
c
1int main( ) {
2    Integer x;
3    return 0;
4}
5
Which one of the following phases in a seven-phase C compiler will throw an error?
  1. A
    Lexical analyzer
  2. B
    Syntax analyzer
  3. C
    Semantic analyzer
  4. D
    Machine dependent optimizer
Practise the full 2021-AN paper
Challenge a friend: WhatsApp Telegram
From RENYXERAWhat rank do your marks get?GATE score, likely All-India Rank and qualifying marks for your category.
Practise more on Lexical Analysis & Parsing Architectures (LL(1), LR(1), LALR)Timed, in the real exam interface · free to start

A GATE question every morning

One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.

Join
Stuck? Ask in the student group