What is the output of the following program?
#include
using namespace std;
void func1(double, int); // Function prototype
int main()
{
int x = 0;
double y = 1.5;
cout << x << " " << y << endl;
func1(y, x);
cout << x << " " << y << endl;
return 0;
}
void func1(double a, int b)
{
cout << a << " " << b << endl;
a = 0.0;
b = 10;
cout << a << " " << b << 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.