Which of the following is a base case in a recursive function?

Practice Questions

Q1
Which of the following is a base case in a recursive function?
  1. The case that leads to infinite recursion
  2. The case that stops the recursion
  3. The case that calls the function again
  4. The case that doubles the input size

Questions & Step-by-Step Solutions

Which of the following is a base case in a recursive function?
No concepts available.
Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely