Consider the following recursive function: (2, 3, 4, 6)
int recFunc(int num) //Line 1
//Line 2
if (num == 0) //Line 3
return 0; //Line 4
else if (num < 0)=”” line=””>
return (-num); //Line 6
else //Line 7
return (num – recFunc(num – 5)); //Line 8
//Line 9
a. Identify the base case.
b. Identify the general case.
c. If recFunc(58) is a valid call, what is its value? If not, explain why.
d. If recFunc(-24) is a valid call, what is its value? If not, explain why.
e. If recFunc(0) is a valid call, what is its value? If not, explain why.