Question

    Which of the following is a base case in recursive functions?

    A A condition that terminates the recursion Correct Answer Incorrect Answer
    B The maximum number of function calls allowed Correct Answer Incorrect Answer
    C The initial value of the recursive variable Correct Answer Incorrect Answer
    D The result of the recursive computation Correct Answer Incorrect Answer

    Solution

    A condition that terminates the recursion

    Practice Next

    Relevant for Exams:

    ×
    ×