Multiple Choice
What is the output of the following C++ code? int x = 35;
Int y = 45;
Int z;
If (x > y)
Z = x + y;
Else
Z = y - x;
Cout << x << " " << y << " " << z << endl;
A) 35 45 80
B) 35 45 10
C) 35 45 -10
D) 35 45 0
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: You can disable assert statements by using
Q5: Which of the following operators has the
Q8: Suppose x is 5 and y is
Q14: What is the output of the following
Q21: You can use either a(n) _ or
Q24: A control structure alters the normal sequential
Q25: Putting _ in front of a logical
Q26: Assume you have three int variables: x
Q32: Which of the following will cause a
Q33: Suppose P and Q are logical expressions.The