Consider Line 3 of the following C program: int main() { /* Line 1 */ int I,…
PYQ GATE 2005
Consider Line 3 of the following C program:
int main() { /* Line 1 */
int I, N; /* Line 2 */
fro (I = 0, I < N, I++); /* Line 3 */
}Identify the compiler's response about Line 3 while creating the object module.
Assume the ISO C90 language rules applicable to this GATE 2005 item.
- A.
No compilation error
- B.
Only a lexical error
- C.
Only syntactic errors
- D.
Both lexical and syntactic errors
Attempted by 313 students.
Sign up free to check your answer
Sign up freeLoading lesson…

