Control Instructions

Q.

Can we use a switch statement to switch on strings?

A. Yes
B. No

Answer : Option B

Explanation :

The cases in a switch must either have integer constants or constant expressions.