Control Instructions - General Questions :: Discussion


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:
Published by:Michael Daani

Comments are not available

Post your comments here:

Optional

Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers