Multiple Choice
What is the output of the following code?
int w = 98;
int x = 99;
int y = 0;
int z = 1;
if (x >= 99)
{
if (x < 99)
cout << y << endl;
else
cout << z << endl;
}
else
{
if (x == 99)
cout << x << endl;
else
cout << w << endl;
}
A) 98
B) 99
C) 0
D) 1
E) None of these
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q33: What is the value of result
Q34: A variable, usually a bool or an
Q35: Which of the following expressions will determine
Q36: Which of the following is evaluated first,
Q37: After the following code executes, what is
Q39: Relational operators allow you to _ numbers.<br>A)
Q40: This operator represents the logical AND:<br>A) ++<br>B)
Q41: The default section of a switch statement
Q42: When a program lets the user know
Q43: What is the output of the following