Examlex

Solved

How Many Times Will the Following Function Call Itself, If

question 2

Multiple Choice

How many times will the following function call itself, if 5 is passed as the argument? void showMessage(int n)
{
If (n > 0)
{
Cout << "Good day!" << endl;
ShowMessage(n - 1) ;
}
}


Definitions:

Related Questions