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

6. What’s the answer to this question
Captain Tellez plans to reach a cruising altitude in his passenger plane and then maintain a cruising speed of 570 miles per hour for approximately 400 miles. W
if a triangle has side lengths of 22, 32 and 55 units respectively, what type of triangle is it?
what were the British doing to American ships that tried to enter French ports?​
PLEASE HELP ASAP Use a system of equations to solve each problem. 1) At an “all you can eat” spaghetti dinner, the volunteers served 210 people and raised $935
IS THE ANSWER C??!!​
What is the difference between mass and weight? In at least three sentences, explain the difference and give an example.
Please help me out, I will give brainliest, this is due at 4 PM, please don't take too long?
What is the difference between mass and weight? In at least three sentences, explain the difference and give an example.
I NEED HELP REALLY BAD!