Question 1
EasyWhat is recursion?
- A.
A function calling itself to solve smaller instances of the same problem
- B.
Calling two functions
- C.
A loop that never ends
- D.
A data structure
Show answer and explanation
Answer: A
Every recursive function needs a base case that stops the recursion.