Consider the following program. Assume that $x$ and $y$ are integers.
f(x, y) { if (y != 0) return (x * f(x,y-1)); else return 1; }
What is $f(6,3)?$
The given code computes the value of $6^3 =216$.
So Option $(D)$ is correct.
64.3k questions
77.9k answers
244k comments
80.0k users