Question

What is the base case in a recursive function?

A The condition that causes the function to call itself.
B The condition that terminates the recursion without further recursive calls.
C The initial input value for the function.
D The maximum depth of recursion allowed.
E The return value of the function.
Practice Next

Hey! Ask a query