Vidyalelo
C Programming · Q302

C Fundamentals

Programming · C Programming · question 302

Q302

What will happen if the following C code is executed? #include 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
Answer
D.
It will experience infinite looping

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board