Dynamic Programming21 sections · 916 units
Open in CourseQuiz: Base Case
Test your understanding
Check Your Understanding
What happens if a recursive function does not have a base case?
- A.The function runs forever until the program crashes with a stack overflow
- B.The function automatically stops after 100 calls
- C.The function returns 0
- D.The compiler throws an error