Examlex

Solved

What Is the Output of the Following Code Fragment

question 15

Multiple Choice

What is the output of the following code fragment?
Int f1int n, int m)
{
Ifn < m)
Return 0;
Else ifn==m)
Return m+ f1n-1,m) ;
Else
Return n+ f1n-2,m-1) ;
}
Int main)
{
Cout << f11,4) ;
Return 0;
}


Definitions:

Related Questions