0
Can I use the operators in the switch statement?
1 Answer
0
switch only works on integer values. if u use char data type then it will be converted first to ASCII value nd then executed.
no u can't use operators. I mean logical operators. switch(3+5) should work. please check. i did it a long back.