Control Instructions - Programming

Q1:

Can we use a switch statement to switch on strings?

A Yes

B No

ANS:B - No

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