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
A. 35 45 80
B. 35 45 10
C. 35 45 -10
D. 35 45 0
Answer: B
Computer Science & Information Technology
You might also like to view...
To debug a macro, use ________ to execute the macro one action at a time
Fill in the blank(s) with correct word
Computer Science & Information Technology
You can use Microsoft Edge's ________ feature to take notes, write, and highlight directly on webpages and then share the note
Fill in the blank(s) with correct word
Computer Science & Information Technology