GateQA is a free GATE CS preparation platform featuring 3,500+ previous-year questions (1987–2026),
36,000+ aptitude questions, subject-wise and year-wise mock tests, performance analytics,
and full offline support. Practice Operating Systems, Algorithms, DBMS, Computer Networks,
Theory of Computation, Discrete Mathematics, Compiler Design, Digital Logic, and more.
Consider the following program: int main int f1 int f2(int X) int f3 { { { { f1; return(1); f3; return(5); f2(2); } if(X==1) } f3; return f1; return(0); else } return (X*f2(X-1));…
Answer: A
This static SEO snapshot loads the full interactive GateQA app when JavaScript is available.