Show the output of the following code:
#includeusing namespace std;void f(double & p){ p += 2 ;} int main(){ double x = 10 ; int y = 10 ; f(x); f(y); cout << "x is " << x << end⌉; cout << "y is " << y << end⌉; return 0 ;}
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.