Consider the following ANSI C program:
Which one of the following phases in a seven-phase C compiler will throw an error?
c
- ALexical analyzer
- BSyntax analyzer
- CSemantic analyzer
- DMachine dependent optimizer
Compiler DesignLexical Analysis & Parsing Architectures (LL(1), LR(1), LALR)MCQ1 mark · −1/3 if wrongEasy
1int main( ) {
2 Integer x;
3 return 0;
4}
5A GATE question every morning
One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.