1 1 vote The return value of ace(4) is int ace(int a) { int x=1; static int k=1; if(a==1) return x; for(;k<a;++k) x=x+ace(k)*ace(a-k); return x; } A.15 B.4 C.10 D.Error Programming in C ace-test-series programming-in-c array + – Sazia Tabassum 941 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
0 0 votes 4 ave GA answered Nov 9, 2022 GA comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes Legit answer is 4 One can try for int k=1 , the correct answer will be 15 for that particular. ShubhamKumar7352 answered Dec 20, 2022 ShubhamKumar7352 comment Share Follow 0 reply Please log in or register to add a comment.