GATE Computer Science (CS) 2015 Shift 2 Solved Paper
© examsiri.com
Question : 24 of 65
Marks:
+1,
-0
Consider the following C function.
The return value of fun (5) is ________.
int fun(int n){
int x=1, k;
if (n==1) return x;
for (k=1; k<n; ++k)
x = x + fun(k) * fun(n-k);
return x;
}The return value of fun (5) is ________.
- Your Answer:
Go to Question: