Find the output of the following code fragment_______?

#include
using namespace std;
int fun(int p, int q)
{
if(p     return 0;
else if(p==q)
    return p+fun(p-1,q);
else
    return q+fun(p-2,q);
}
int main()
{
cout< return 0;
}

Enter numerical value using the virtual keypad. Round off where necessary.

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation