Examveda
Examveda

Will the following C code compile without any error?
#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


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals