Q12
What is the output of the following code: int x = 5, y = 2; cout << x / y;
A.
2.5
B.
2
AnswerC.
Compilation error
D.
2.2
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board