yffiandres yffiandres
  • 23-10-2020
  • Computers and Technology
contestada

Given the following code segment, what is output after "result = "? int x = 1, y = 2, z = 3; cout << "result = " << (x < y ? y : x) << endl;

a. 1
b. 2
c. 3
d. 4

Respuesta :

WilliamFancyson
WilliamFancyson WilliamFancyson
  • 23-10-2020

Answer:

b. 2

Explanation:

Answer Link

Otras preguntas

Give reason why light intensity,carbondioxide concentration and temperature are limiting factors.​
Please answer this!!!
What causes a bullet to spin as it is fired?
Stephen buys two cookies and one muffin for $5. Jacks buys one cookie and one muffin for $3. How much is a cookie? How much is a muffin?
How long did it take for Charles Darwin to travel to the Galapagos islands?
please help, i forgot which was which... (positive or negative coefficient) 19b Is the coefficient of x^(2) in the quadratic function positive or negative? (ima
8x+5y=16 8x+10y=56 what strategy could you apply to use the linear combination method to solve the system?
A print shop borrows $6700 from a credit union for 338 days the credit union charges simple interest at an annual rate of 10% for this loan assum each day is 1/
If x² + x - 6=0, then x=
Can someone PLEASE help meeeeee