Vidyalelo
C++ Programming · Q26

Control Flow Statements in C++

Programming · C++ Programming · question 26

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
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board