+ 4

Which of the following cannot be checked in a switch-case statement?

Which of the following cannot be checked in a switch-case statement? Character Integer Float enum

20th Jan 2019, 2:49 PM
Zhenis Otarbay
Zhenis Otarbay - avatar
2 Respostas
+ 3
Hello. Yes, unhappy double and float aren't checked in switch-case. If you want to check it, use the if-else rather than switch-case
20th Jan 2019, 3:18 PM
Gabriel Felix dos Santos
Gabriel Felix dos Santos - avatar
+ 4
Float and double are not checked in c. Please, read this : http://www.atnyla.com/gk/21/175/1373
20th Jan 2019, 2:50 PM
Zhenis Otarbay
Zhenis Otarbay - avatar