Practice Questions for Recursion | Set 1
Explain the functionality of the following functions. Question 1 C++ int fun1(int x, int y) { if (x == 0) return y; else return fun1(x - 1, x + y); } C int fun1(int x, int y) { if (x == 0) return y; else return fun1(x - 1, x + y); } Java static int fun1(int x, int y) { if (x == 0) return y; else ret