Control structures | Sololearn: Learn to code for FREE!


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


oh yeah you can in c++ not c


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