McqMate
| Q. |
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 |
| Answer» D. every recursive function must have a return value | |
| Explanation: a recursive function needn’t have a return value. | |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet