单项选择题
若int i=10;执行下列程序后,变量i的正确结果是()
switch (i)
{
case 10: i+=1 ;
case 9: i+=1 ;
case 11: i+=1 ;
default: i+=1 ;
}
A.10
B.11
C.13
D.14
点击查看答案&解析
相关考题
