1 votes 1 votes 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 asked Oct 14, 2022 • edited Sep 17, 2023 by Hira Thakur Sazia Tabassum 592 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes 4 ave GA answered Nov 9, 2022 GA comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 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 See all 0 reply Please log in or register to add a comment.