What happens if a recursive function does not have a base case?

Practice Questions

Q1
What happens if a recursive function does not have a base case?
  1. It will run indefinitely
  2. It will return a default value
  3. It will throw an error
  4. It will terminate successfully

Questions & Step-by-Step Solutions

What happens if a recursive function does not have a base case?
No concepts available.
Soulshift Feedback ×

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

Not likely Very likely