Solved

Given the Following Function Definitions and Program Fragments, What Is

Question 24

Multiple Choice

Given the following function definitions and program fragments, what is the output?
Void f1int& z, int &q)
{
Int temp;
Temp=q;
Q=z;
Z=temp;
}
Void f2 int& a, int& b)
{
If a<b)
F1a,b) ;
Else
A=b;
}
Int x=3, y=4;
F2y,x) ;
Cout << x <<" " << y << endl;


A) 3 3
B) 4 3
C) 3 4
D) 4 4

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions