若有int a;float b;scanf(“%d,%f”,&a,&b);使a,b的值分别为30和5.5,则正确的输入是()
A. 30 5.5
B. 30,5.5
C. a=30,b=5.5
D. a=30 b=5.5
下面程序的运行结果是#include int main(){int n=100;char c;float f=10.0;double x;x=f*=n/=(c=48);printf(“%d,%d,%3.1f,%3.1f\n”,n,c,f,x);return 0;}
下面程序的运行结果是#include int main(){int x=1,y=2;printf(“x=%d y=%d*sum*=%d\n”,x,y,x+y);printf(“10 squared is:%d\n”,10*10);return 0;}
下面程序的运行结果是#include int main(){printf(“*%f,%4.3f*\n”,3.14,3.1415);return 0;}