+ 2
Control structures
Can we use string in switch case in C
2 Respuestas
+ 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
Can we use string in switch case in C