Solved

What Is the Output of the Following Code Fragments

Question 53

Multiple Choice

What is the output of the following code fragments?
Int trial int& a, int b)
{
Ifb > a)
{
A=b;
Return -a;
}
Else
{
Return 0;
}
}
Float x=0, y=10,z;
Z=trialy,x) ;
Cout << z << " " << x <<" " << y << endl;


A) -10 0 0
B) 0 10 0
C) 10 0 0
D) 0 0 10

Correct Answer:

verifed

Verified

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

Related Questions