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

If you were creating a PSA about building a green roof, which sources would be reliable for researching the topic? Check all that apply. a .gov or .org website
pls, help! and explain
Why is it important to make good choices when it comes to eating foods? Why is it important for children?
Who could be described as undaunted?
What is the area of this shape?
HELPP ASAP Helena stopped at Checkpoint C, which has coordinates (-4, 5). She gets to Checkpoint D at (-3,2) by crawling underneath barbed wire. She will have
Participle phrases are phrases that modify nouns and are based on the verb tense. O True O False
DNA a biomolecule made of a sequence of amino acids True or False?
Fill in the second sheet of the file entitled “Case on FCF template” where the valuation of company A by the directors of a company interested in acquiring com
Select the spelling word that drops a letter when adding the suffix –ion. A. correct B. confuse C. discuss D. elect