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
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q4: When a relational expression is false, it
Q18: What is the value of the following
Q25: Whereas < is called a relational operator,
Q39: What will the following program display?
Q40: This operator represents the logical AND:<br>A) ++<br>B)
Q40: Given the following code segment, what is
Q41: What is the value of the following
Q47: If the sub-expression on the left side
Q48: What is the value of donuts
Q49: What is the value of the following