Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

Question

Data type of the controlling statement of a SWITCH statement cannot of the type:

A int
B char
C short
D float
Answer & Explanation
Option: [D]

The SWITCH statement is a conditional statement. Using this statement we handle number of cases simultaneously. Float data type is not allowed in SWITCH statement.

Advertisement
Assam Direct Recruitment Test Series