Switch-case statement - Data types - C programming
Q. Which of the following cannot be checked in a switch-case statement?
(C programming)- Published on 26 Jun 15a. Character
b. Integer
c. Float
d. enum
ANSWER: Float
The switch-case is defined by the language specification to use an int value so you cannot use a float value.