Switch conditional statement

String type

Report a typo

Can you use a variable of type string as the switch expression in C++?

Select one option from the list

Create a free account to access the full topic