问题 单项选择题

switch(表达式)语句中的“表达式”,允许的类型是()。

A.float,int

B.float,int,char

C.int,char

D.char,double

答案

参考答案:C

选择题
单项选择题