Q42
What will be the output of the following code: int i = 5; if (i != 5) cout << "Not equal"; else cout << "Equal"; in C++?
A.
Equal
AnswerB.
Not equal
C.
5
D.
Compilation error
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board