Can you use a variable of type string as the switch expression in C++?
Switch conditional statement
String type
Report a typo
Select one option from the list
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.