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

Juan is thinking of two numbers. He says that 3 times the first number minus the second number is 118. In addition, two times the first number plus the second n
factor: 6x+36=  how do I solve this problem
Juan is thinking of two numbers. He says that 3 times the first number minus the second number is 118. In addition, two times the first number plus the second n
factor: 6x+36=  how do I solve this problem
Find the slope of the ski run that descends 15 feet for every horizontal change of 24 feet
What particles make up the nucleus of an atom?
Juan is thinking of two numbers. He says that 3 times the first number minus the second number is 118. In addition, two times the first number plus the second n
factor: 6x+36=  how do I solve this problem
the perimeter of a rectangle is 120 meters. If the length of the rectangle is 20 meters more than the width, what are the dimensions of the rectangle.
factor: 6x+36=  how do I solve this problem