The _______ of a recursive function is a condition that does not use recursion to produce an answer. 

  • base case 
  • recursive loop 
  • iteration step 
  • end case
The base case of a recursive function provides the termination criteria for the recursion. Without a base case, the recursive calls would go on indefinitely, leading to a stack overflow. The base case typically provides a straightforward solution without the need for further recursion.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *