1.

Which of the following statement is correct for switch controlling expression?

A. Only int can be used in switch control expression
B. Both int and char can be used in switch control expression.
C. All types i.e. int, char and float can be used in switch control expression
D. switch control expression can be empty as well
Answer» C. All types i.e. int, char and float can be used in switch control expression


Discussion

No Comment Found

Related MCQs