Consider the following ANSI C program: int main () { Integer x; return 0; }…

PYQ GATE 2021

Consider the following ANSI C program: 


int main () {
Integer x;
return 0;
}

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

Attempted by 587 students.

Sign up free to check your answer

Sign up free

Explore the full course: Compiler Design

Loading lesson…