有以下程序段int m=0,n=0; char c='a';scanf("%d%c%d",m,c,n);printf("%d,%c,%d\n",m,c,n);若从键盘上输入:10A10回车,则输出结果是:A.10,A,10B.10,a,10C.10,a,0D.10,A,0

有以下程序段int m=0,n=0; char c='a';scanf("%d%c%d",&m,&c,&n);printf("%d,%c,%d\n",m,c,n);若从键盘上输入:10A10<回车>,则输出结果是:

A.10,A,10

B.10,a,10

C.10,a,0

D.10,A,0


相关考题:

有以下程序 main() { int m,n; printf("Enter m,n:");scanf("%d%d",m,n); while(m!=n) { while(m>n)m-=n; while(n>m)n-=m; } printf("m=%d\n",m); } 如果从键盘上输入65 14<回车>,则输出结果为( )A.m=3B.m=2C.m=1D.m=0

若有以下程序段: int m=0,n=0;char c='a'; scanf("%d %c %d",m,c,n); printf("%d,%c,%d\n",m,c,n); 若从键盘上输入:10A10<回车>,则输出结果是 ______。A.10,A,10B.16,a,10C.10,a,0D.10,A,0

A)(仕兰微面试题目)#i ncludevoid testf(int*p){*p+=1;}main(){int *n,m[2];n=m;m[0]=1;m[1]=8;testf(n);printf("Data v alue is %d ",*n);}------------------------------B)#i ncludevoid testf(int**p){*p+=1;}main(){int *n,m[2];n=m;m[0]=1;m[1]=8;testf(n);printf(Data v alue is %d",*n);}下面的结果是程序A还是程序B的?Data v alue is 8那么另一段程序的结果是什么?

有以下程序段: int m=0,n=0; char c='a'; scanf("%d%c%d",m,c,n); printf("%d,%c,%d\n",m,c,n); 若从键盘上输入10A10<回车>,则输出结果是( )。A.10,A,10B.10,a,10C.10,a,0D.10,A,0

有以下程序段 int m=0,n=0;char c='a'; scanf("%d%c%d",m,c,n); printf("%d,%c,%d\n",m,c,n); 若从键盘上输入:10A10<回车>,则输出结果是A.10,A,10B.10,a,10C.10,a,0D.10,A,0

有以下程序段 int m=0,n=0; char c='a'; scanf ("%d%c%d", m, c, n); printf ("%d, %c, %d\n", m, c, n); 若从键盘上输入:10A10<回车>,则输出结果是A.10,A,10B.10,a,10C.1O,a,0D.10,A,0

运行以下程序后,如果从键盘上输入65 14<回车>,则输出结果为 main () { int m,n; printf("Enter m,n:"); scanf("%d%d",m,n); while(m!=n) { while(m > n)m-=n; while(n > m)n-=m; } printf("m=%dn",m); }A.3B.2C.1D.0

【单选题】有以下程序段 int m=0,n=0; char c='a'; scanf("%d%c%d",m,c,n); printf("%d,%c,%dn",m,c,n); 若从键盘上输入:10A10<回车>,则输出结果是()。A.10,A,10B.10,a,10C.10,a,0D.10,A,0

27、运行以下程序后,如果从键盘上输入65 14<回车>,则输出结果为()。 int main(void){ int m, n; printf("Enter m,n;"); scanf("%d%d", m,n); while (m != n) { while (m > n) m = m - n; while (n > m) n = n - m; } printf("m=%d\n",m); return 0;}A.m=3B.m=2C.m=1D.m=0