Problems
Scroll through the page to review your answers. The correct answer is
highlighted in
green.
Your incorrect answers (if any) are highlighted in
red.
If you'd like to take the test over again, click the reset button at the end of the test.
Which of the following iterative functions is not equivalent to this
recursive function?
int mystery(int n)
{
if(n > 0) return (n + mystery(n - 1));
return 0;
}