Question: 1 . ( 2 points ) The base case in a recursive function serves what purpose? a . It defines the function's return type. b
points The base case in a recursive function serves what purpose?
a It defines the function's return type.
b It provides a condition to stop the recursion.
c It determines the initial input to the function.
d It calculates the final result.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
