Question 92

Computer Awareness Data Structure Easy

Predict the output of the following C Code

int x = 0;
int f()
{
int g()
{
int x = 1;
return f();
}
int main()
{
printf('%d', g());
printf('/n');
getchar();
}

(A) 1
(B) 0
(C) Garbage value
(D) 2
View Dynamic Solution & Explanation
Correct Solution: Option B

Step-by-step Solution:

No explanation entered yet.