在下列语句中存在错误的是
在下列语句中存在错误的是
A.int a,b;scanf(“%d %f”,&a,&b);
B.int a,b;scanf(“%d %d”,a,b);
C.int a,b;scanf(“%d%d”,&a,&b);printf(“%d %d”,a,b);
D.float a,b;scanf(“%3.2f %4.2f”,&a,&b);printf(“%f %f”,a,b);
E.float a,b;scanf(“%f %f”,&a,&b);printf(“%f %f”,a,b);
F.float a,b;scanf(“%f %f”,&a,&b);printf(“a=%4.3f,b=%4.3f”,a,b);
G.int a,b;scanf(“%2d%2d”,&a,&b);printf(“a=%d,b=%d”,a,b);
H.int a,b;scanf(“%d,%d”,&a,&b);printf(“a=%2d,b=%2d”,a,b);
I:int a,b;scanf(“a=%d,b=%d”,&a,&b);printf(“a=%d,b=%d”,a,b);
正确答案:int a,b;scanf(“%d %f”,&a,&b);;int a,b;scanf(“%d %d”,a,b);;int a,b;scanf(“%d%d”,&a,&b);printf(“%d %d”,a,b);;float a,b;scanf(“%3.2f %4.2f”,&a,&b);printf(“%f %f”,a,b);