单选题 C语言
题号 #3247845

有以下程序:
#include <stdio.h>
main()
{int c;
while((c=getchar( ))!='\n')
{switch(c-'2')
{case 0:
case 1:putchar(c+4);
case 2:putchar(c+4);break;
case 3:putchar(c+3);
default:putchar(c+2);break;
}
}printf("\n");
}
从第一列开始输入数据:2473<CR>,<CR>代表回车,程序的输出结果是( )

进入在线模考

参考答案

A

答案解析

暂无解析

你可能感兴趣的试题

找试题 · 找答案 · 找资料 在线模考