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

the presidents power to delay the carrying out of a sentence is known as what
If two sides of a triangle are 6cm and 8cm and if the third side is 10cm why must it be right angled
Which of the following could be the name of the substance in box ‘c` choose only one box: Nitrogen: Krypton: Hydrogen chloride : Sulphur dioxide: Carbon monoxid
Palmer Hayden's The Subway represents a demographic and ethnic cross-section of the strap-hanging riders of 1930s New York City and thus demonstrates.
How might the actions of the Intolerable Acts “ more soldiers sent to Boston to make sure colonist followed the laws.” how might this hurt you if you were a co
Units must be consistent. If the unit for p is dollars, the unit for i is dollars and the unit for t is years, what must the units for r be?
If a person pushes a box up a ramp, in which direction will the box exert a force on the person? up the ramp toward the person down on the ramp
Six friends shared 79 trading cards and kept a record of how they did it. What does 13 represent?
Describe the lytic cycle
Someone help me please!!