In a recursive function the base case has the job of a. Formulating the variant expression. b. Providing a path for the return value. c. Stopping the recursion. d. Making the function repeat itself. In a tree a node without a parent is called An orphan Root A leaf Empty. If the base case of a recursive function returns a value it would be unusual since recursive functions usually don’t return anything. The value returned will always be 0. Then every recursive case must also return a value Then the function is done with its work
in a recursive function, the base case has the job of:
stopping the recursion
In a tree, a node without a parent is called:
root, as root is the first child and it has no parents
If the base case of a recursive function returns a value:
Then every recursive case must also return a value, becuase ultimately any case terminated to the base case only.