MCA
PREP
Home
Rankers
PYQ Blogs
Pricing
About
Contact
Login
Sign up
Home
>
PYQ Blogs
>
MAH MCA CET 2024 Paper
>
Question 92
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.
← Previous Question
Our Rankers
Next Question →