作者在 2011-03-26 21:58:27 发布以下内容
今天去参加二级考试,其中有一道填空题出得挺好,写在这里与大家分享,
若不吝赐教,路人可以留下言语

题目大意如下
::对于程序(注意0的ASCII码是48)
#include<stdio.h>
int main()
{
char c1,c2;
scanf("%c",&c1);
c2=c1+9;
printf("%c%c\n",c1,c2);
return 0;
}
int main()
{
char c1,c2;
scanf("%c",&c1);
c2=c1+9;
printf("%c%c\n",c1,c2);
return 0;
}
若输入48,则输出为:——
我好多同学都填了09,你认为呢?做做看。
