Question DSA-REC-0048
MediumA recursive function has no base case. What happens when it runs?
- A.
The compiler removes the recursion
- B.
It runs once
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Recursion and Backtracking question
A recursive function has no base case. What happens when it runs?
The compiler removes the recursion
It runs once
Sign up free to see the answer and a step-by-step explanation.
It recurses until the stack overflows
It returns 0