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 area of a trapezoid is 40.92 square centimeters. One base of the trapezoid is 7.4 centimeters and its height is 6.2 centimeters.Which sentence explains how
n what way did the Christian Crusades contribute to the decline of the Byzantine Empire ?
I have this weird question that has to do with linear equations (I think), and this is what it says. Let f(x) = 4x - 5 A. Find f(3) B. Find x when f(x) = -21 C
What are the four basic parts found in all cells?
what does it mean when someone is said to ''rust out''?
what is .185 repeating as a fraction
what is .02439 repeating as a fraction
What percentage of the total mass of KHCO₃ is made up by nonmetallic elements?  a. 17%  b. 83%  c. 61%  d. 20%  e. 50%
When i add 2 to my number and then multiply it bye 5 i get 30 what is my number
Two integers, A and B, have a product of -35. What is the largest possible sum of A and B? Explain how you found your answer.