Consider the following function:
What value does func(x , y) return?
(Either write a number, or write "infinite recursion".)
infinite recursion
The base case is executed when y reaches zero while the recursive call is incrementing y. Since y is positive, then the base case will never be executed.