What is the output of the following code?
#includeusing namespace std;void f1(int x , int& y , int* z){ x++; y++; (*z)++;}int main(){ int i = 1 , j = 1 , k = 1 ; f1(i, j, &k); cout << "i is " << i << end⌉; cout << "j is " << j << end⌉; cout << "k is " << k << 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.