Examveda
Examveda

What will happen if the following C code is executed?
#include <stdio.h>
int main()
{
    int main = 3;
    printf("%d", main);
    return 0;
}

A. It will cause a compile-time error

B. It will cause a run-time error

C. It will run without any error and prints 3

D. It will experience infinite looping

Answer: Option C


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals