Computer Science, asked by ashalatas1985, 8 hours ago

In switch..case the data type of choice can be​

Answers

Answered by binodbam2003
1

Answer:

A switch works with the byte , short , char , and int primitive data types. It also works with enumerated types (discussed in Enum Types), the String class, and a few special classes that wrap certain primitive types: Character , Byte , Short , and Integer (discussed in Numbers and Strings)

Answered by Xxauspicious3354xX
0

Data type of case labels of switch statement in C++? In C++ switch statement, the expression of each case label must be an integer constant expression. ... Note : The above fact is only for C++

Hope it will help you....

Thanks

It's Shreya...

Similar questions