engineering recuitment NIC NIELIT Scientist B 2023 Mock Test Compiler Design Lexical Analysis Limitations
Consider the below-given code written in C language
#include
int main()
{
int k = 20;
whlie(--k)
printf(“GATE CS 2021\n”);
}
Identity the compiler’s response about the above-given code while creating the object- module1
Lexical Error
2
Prints GATE CS 2021 19 times
3
Prints GATE CS 2021 20 times
4
Syntactic Error