21
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++?
Answer & Solution
Answer: Option
D
No explanation is given for this question. Let's Discuss on Board