单选题 C语言
题号 #4684560

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

进入在线模考

参考答案

A

答案解析

暂无解析

你可能感兴趣的试题

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