Q21
What is the output of the following code: int x = 5; switch (x) case 1: cout << "One"; break; case 5: cout << "Five"; break; in C++?
A.
One
B.
Compilation error
C.
No output
D.
Five
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board