Multiple Choice
What will be displayed after the following statements execute?
int funny = 7, serious = 15;
funny = serious % 2;
if (funny != 1)
{
funny = 0;
serious = 0;
}
else if (funny == 2)
{
funny = 10;
serious = 10;
}
else
{
funny = 1;
serious = 1;
}
cout << funny << " " << serious << endl;
A) 7 15
B) 0 0
C) 10 10
D) 1 1
E) None of these
Correct Answer:

Verified
Correct Answer:
Verified
Q9: These operators connect two or more relational
Q10: What is the value of donuts
Q11: What is the value of the following
Q13: Whereas < is called a relational operator,
Q15: This operator represents the logical OR:<br>A) --<br>B)
Q16: After the following code executes, what
Q17: Which value can be entered to cause
Q18: What is the value of the following
Q18: What is the value of the following
Q19: What is the output of the