Examveda
Examveda

Will the following C code compile without any error?
#include <stdio.h>
int main()
{
    int k;
    {
        int k;
        for (k = 0; k < 10; k++);
    }
}

A. Yes

B. No

C. Depends on the compiler

D. Depends on the C standard implemented by compilers

Answer: Option A


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals