What will the following program display?
#include <iostream>
using namespace std;
// Function prototype
void showMe(int arg);
int main()
{
int num = 0;
showMe(num);
return 0;
}
void showMe(int arg)
{
if (arg < 10)
showMe(++arg);
else
cout << arg << endl;
}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.