Will the following C code compile without any error?
#include <stdio.h>
int main()
{
for (int k = 0; k < 10; k++);
return 0;
}
#include <stdio.h>
int main()
{
for (int k = 0; k < 10; k++);
return 0;
}
A. Yes
B. No
C. Depends on the C standard implemented by compilers
D. Error
Answer: Option C
Join The Discussion