What is the output of the following code?
if (6 > 8)
{
Cout << " ** " << endl ;
Cout << "****" << endl;
}
else if (9 == 4)
cout << "***" << endl;
else
cout << "*" << endl;
A) *
B) **
C) ***
D) ****
Correct Answer:
Verified
Q2: A compound statement functions as if it
Q9: In C++, && has a higher precedence
Q12: A control structure alters the normal sequential
Q14: Which of the following operators has the
Q22: Putting _ in front of a logical
Q23: The appearance of = in place of
Q25: The conditional operator ?: takes _ arguments.
A)
Q26: Assume you have three int variables: x
Q28: What is the output of the following
Q36: Which of the following will cause a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents