Solved

What Will Be the Output After the Following C++ Statements

Question 20

Multiple Choice

What will be the output after the following C++ statements have been executed? int a{4};
Int b{12};
Int c{37};
Int d{51};
If (a < b) {
Cout << "a < b" << endl;
}
If (a > b) {
Cout << "a > b" << endl;
}
If (d <= c) {
Cout << "d <= c" << endl;
}
If (c != d) {
Cout << "c != d" << endl;
}


A) a < b c != d
B) a < b d <= c
C != d
C) a > b c != d
D) a < b c < d
A != b

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions