Consider the two given functions:
int fun1(int x, int y) { if (y==0) return 0; return (x+fun2(x, y-1)); } int fun2(int x, int y) { if (x==0) return y; return fun2(x-1, x+y); }
What will be the value returned by $\text{fun1}(4, 4)$ ____
So return value of $\text{fun1}(4,4)= 17$
64.3k questions
77.9k answers
244k comments
80.0k users