GkSeries.com

Q.

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.

Please share this page