Q124
What will be the output of the following C code? #include void main() register int x = 0; if (x < 2) x++; main();
A.
Segmentation fault
AnswerB.
main is called twice
C.
main is called once
D.
main is called thrice
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board