Control structures | SoloLearn: Learn to code for FREE!

+2

Control structures

Can we use string in switch case in C

1/29/2018 8:52:34 AM

Venkatesh R B

2 Answers

New Answer

+2

oh yeah you can in c++ not c

+2

you can use char but c does not even have string type and im pretty sure that cpp also does not support strings on the switch