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

Relax

Respuesta :

WilliamFancyson
WilliamFancyson WilliamFancyson
  • 23-10-2020

Answer:

b. 2

Explanation:

Answer Link

Otras preguntas

sally has 20 coins in her piggy bank,all dimes and quarters. The total amount of money is $3.05. How many of each coin does she have?
1/3 as many dimes as nickels 3 more quarters than nickels 17 coins in all Q=___ D=___ N=___
paul has 16 baseballs and 12 golf balls what is the ratio of balls to golf balls
what is the largest agency of the executive office of the president?
The Triple Alliance nations were?
Put y+7=1/2(x+2) in standard form Standard form: Ax+By=C
What difficulties did the patriots face at the valley forge
Explain how you know that in ?×6,273=6,273, the ? Will be 1
Question 1. Which ratio is not equal to 49/21? (Points : 1)              7/10       7/3       98/42       245/105Question 2. Solve: . (Points : 1)         4
there were 15 cars and 25 trucks in the parking garage.  what is the ratio of cars to total vehicles