-
Will the following C code compile without any error?
#include <stdio.h>
int main()
{
for (int n = 0; n < 5; n++);
return 0;
}
-
- No
- Yes
- Garbage value
- Depends on the C standard implemented by compilers
- None of these
Correct Option: D
Compilers implementing C90 do not allow this, but compilers implementing C99 allow it.