Q26
What will be the output of the following code: int x = 5; x > 2 ? cout << "Yes" : cout << "No"; in C++?
A.
No
B.
5
C.
2
D.
Yes
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board