Question

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

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

    Solution

    To manage the sequence of function calls and returns

    Practice Next

    Relevant for Exams:

    ×
    ×