Solved

What Is Wrong with the Following Recursive Function? It Should

Question 23

Multiple Choice

What is wrong with the following recursive function? It should print out the array backwards.
Void printint array[], int start, int size)
{
Ifstart == size)
Return;
Else
{
Printarray, start-1,size) ;
Cout << array[start] << endl;
}
}


A) infinite recursion
B) the stopping condition is wrong
C) the recursive call is wrong
D) A and C
E) nothing

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions