GAT Subject
Engineering
Computer Science Civil Engineering Chemical Engineering Agricultural Engineering Mechanical Engineering Electronics and Communication
4. | Which of the following cannot be checked in a switch-case statement? | |
A. | Character | |
B. | Integer | |
C. | Float | |
D. | enum | |
Answer: Option C | |
Explanation: | |
The switch/case statement in the c language is defined by the language specification to use an int value, so you can not use a float value. |
|
Tutorial Link: |