Question
Can we use a switch statement to switch on strings?
Answer: Option B
Was this answer helpful ?
The cases in a switch must either have integer constants or constant expressions.
Was this answer helpful ?
Submit Solution