Q16
What is the output of the following code: int x = 10; if (x == 10) cout << "x is 10"; else cout << "x is not 10"; in C++?
A.
No output
B.
Compilation error
C.
x is 10
AnswerD.
x is not 10
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board