问题
填空题
有以下程序(说明:字符0的ASCⅡ码值为48):
#include <stdio.h>
main()
char c1,c2;
scanf("%d",&c1);
c2=c1+9:
printf("%c%c\n" ,c1, c2);
若程序运行时从键盘输入48<回车>,则输出结果为______。
答案
参考答案:09
有以下程序(说明:字符0的ASCⅡ码值为48):
#include <stdio.h>
main()
char c1,c2;
scanf("%d",&c1);
c2=c1+9:
printf("%c%c\n" ,c1, c2);
若程序运行时从键盘输入48<回车>,则输出结果为______。
参考答案:09