Question: Please explain!! Question 10 Give the output of the recursive function below when called with an argument of 3. int rec (int n) if. (n
Question 10 Give the output of the recursive function below when called with an argument of 3. int rec (int n) if. (n =-1 ) return l; else return rec (n-1) 2*n 1; a. 3 b. 6 C. d. 14 e. none of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
