问题详情

答题翼 > 问答 > 计算机类考试 > 正文
目录: 标题| 题干| 答案| 搜索| 相关

有以下程序main(){ char k;int i;for(i=1;i


有以下程序 main() { char k;int i; for(i=1;i<3;i++) { scanf("%c",&k); switch(k) { case"0":printf("another\n"); case"1":printf("number\n"); } } } 程序运行时,从键盘输入:01<回车>,程序执行后的输出结果是

A.another number anothor

B.another number number

C.another number

D.number number

参考答案
您可能感兴趣的试题