以下程序运行后的输出结果是200010 。#include main(){ int a=200,b=10; printf("%d%d\n",a,b);}
查看答案
有以下程序#include main(){ int x,y; scanf("%2d%3d",&x,&y); printf("%d\n",x+y);}程序运行时输入:1234567,则程序的运行结果是357。
A. 对
B. 错
假设有 int k=1234,则printf("%d\n",k)的输出结果是1234 。
A. 对
B. 错
有以下程序(说明:字符0的ASCII码值为48)#include main(){ char c1,c2; scanf("%d",&c1); c2=c1+9; printf("%c%c\n",c1,c2);}若程序运行时从键盘输入48<回车>,则输出结果为4857。
A. 对
B. 错
有定义int x=-2;则语句printf("%d",x);的输出结果为-2。
A. 对
B. 错