Gate CS-2005 Question Paper With Solutions

Q. 61 Consider line number 3 of the following C- program.

int main() { /*Line 1 */
int I, N; /*Line 2 */
fro (I=, I<N, I++); /*Line 3 */
}
Identify the compiler’s response about this line while creating the object-module
(A) No compilation error
(B) Only a lexical error
(C) Only syntactic errors

(D) Both lexical and syntactic errors

Answer: (A)

Explanation:

Gate CS-2005 Question Paper With Solutions Gate CS-2005 Question Paper With Solutions
Learn More:   Gate ME-2016-3 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here