Question 95

Computer Awareness Miscellaneous Easy

Predict the output of the below C program.

#include
int main()
{
static int t=5 ;
if (--i){
main();
printf('%d', i);
}
}

(A) segmentation fault (core dumped)
(B) 1234
(C) 0000
(D) 4321
View Dynamic Solution & Explanation
Correct Solution: Option A

Step-by-step Solution:

No explanation entered yet.