Question

In a recursive function, what is the call stack used for?

A To store the values of local variables
B To keep track of the number of function calls
C To determine the return value of the function
D To manage the sequence of function calls and returns
Practice Next

Relevant for Exams:

Hey! Ask a query