12th Class Computers Science Sample Paper Functions - Sample Paper - 4

  • question_answer
    Which of the following statements is false about recursion?

    A) Every recursive function must have a base case

    B) Infinite recursion can occur if the base case isn't properly mentioned

    C) A recursive function makes the code easier to understand

    D) Every recursive function must have a return value 

    Correct Answer: D

    Solution :

    [d] A recursive function needn't have a return value.


You need to login to perform this action.
You will be redirected in 3 sec spinner