Solved

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

Question 11

Multiple Choice

What will be the output after the following C++ statements have been executed?
Int a, b, c, d;
A = 4;
B = 12;
C = 37;
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