[讨论]输入2为何是66?请详解!先谢了!
#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");
getch();
}
输入2为何是66?请详解