有如下程序 main( ) { char ch[2][5]={"6937","8254"},*p[2]; int i,j,s=0; for(i=0;i<2;i++) p[i]=ch[i]; for(i=0;i<2;i++) for(j=0;p[i][j]>'\0'; j+=2) s=10*s+(p[i][j]-'0'); printf("%d\n",s); } 该程序的输出结果是______。A.69825B.63825C.6385D.693825

有如下程序 main( ) { char ch[2][5]={"6937","8254"},*p[2]; int i,j,s=0; for(i=0;i<2;i++) p[i]=ch[i]; for(i=0;i<2;i++) for(j=0;p[i][j]>'\0'; j+=2) s=10*s+(p[i][j]-'0'); printf("%d\n",s); } 该程序的输出结果是______。

A.69825

B.63825

C.6385

D.693825


相关考题:

有如下程序main(){char ch[2][5]={"6937","8254"},*p[2];int i,j,s=0;for(i=0;i2;i++)p[i]=ch[i];for(i=0;i2;i++)for(j=0;p[i][j]′\0′;j+=2)s=10*s+p[i][j]-′0′;printf("%d\n",s);}该程序的输出结果是A.69825B.63825C.6385D.693825

有如下程序includevoid main(){char ch[2][5]=={"6937","8254"},*p[2];int i,j,s=0 有如下程序 #include<iostream.h> void main() {char ch[2][5]=={"6937","8254"},*p[2]; int i,j,s=0; for(i=0;i(2;i++)p[i]=ch[i]; for(i=0;i(2;i++) for(j=0;p[i][j]>'\0,j+=2) s=10*s+p[i][j]-'0'; cout<<s;} 该程序的输出结果是( )。A.69825B.63825C.6385D.693825

如下程序的输出结果是#includestdio.hmain(){ char ch[2][5]={"6937","8254"},*p[2];int i,j,s=0;for(i=0;i2;i++) p[i]=ch[i];for(i=0;i2;i++)for(j=0;p[i][j]′\0′;j+=2)s=10*s+p[i][j]-′0′;printf("%d\n",s);}A.69825B.63825C.6385D.693825

下列程序的输出结果是()。inCludemain(){char ch[2][5]={"1234","5678,},*p[2];int i,j 下列程序的输出结果是( )。 #inClude<stdio.h> main() { char ch[2][5]={"1234","5678,},*p[2]; int i,j,s=0; for(i=0;i<2;i++) p[i]=ch[i]; for(i=0;i<2;i++) for(j=0;p[i][j]>'\0';j+=2) { s=p[i][j]-'0';A.8B.7C.12D.9

以下程序的输出是()。main(){chara[2][5]={“6937”,”8254”};inti,j,s=0;for(i=0;i2;i++)for(j=0;a[i][j]'0'a[i][j]='9';j+=2)s=10*s+a[i][j]-‘0’;printf(“s=%d”,s);} A.6385B.69825C.63825D.693825

下列程序的输出结果是______。main(){ char ch[2][5]={"6937","8254"},*p[2]; int i,j,s=0; for(i=0;i<2;i++) p[i]=ch[i]; for(i=0;i<2;i++) for(j=0;p[i][j]>'\0';j+=2) s=10*s+p[i][j]-'0'; printf("%d\n",s);}A.69825B.63825C.6385D.693825

下列程序的输出结果是( ) main() { char ch [2][5]={"6934","8254"},*p[2]; int i,j,s=0; for(i=0;i<2;i++) p[i]=ch[i]; for(i=0;i<2;i++) for(j=0;p[i][j]>'\0'p[i][j]<='9';j+=2) s=10*s+p[i][j]-'0'; printf("%d\n",s); }A.6385B.69825C.63825D.693825

有如下程序 #include(iostream.h voidmain( ) {charch[2][5]={"6937","8254"),*p[2]; inti,j,s=0; for(i=0;i2;i++)p[i]=ch[i]; for(i=0;i2;i++) for(j=0;p[i][j])\0;j+=2) s=10*s+p[i][j]一0; coutS;} 该程序的输出结果是( )。A.69825B.63825C.6385D.693825

如下程序的输出结果是includemain(){chsr ch[2][5]={"6937","8254"},*p[2];int i,j,s= 如下程序的输出结果是 #include<stdio.h> main() { chsr ch[2][5]={"6937","8254"},*p[2]; int i,j,s=0; for(i=0;i<2;i++) p[i]=ch[i]; for(i=0;i<2;i++) for(j=0;p[i][j]>'\0';j+=2) s=10*s+p[i][j]-'0' printf("%d\n",s);}A.69825B.63825C.6385D.693825

有如下程序:includevoid main( ){char ch[2] [5] ={"6937","8254"},* p[2] ;int i, 有如下程序: #include<iostream.h> void main( ) { char ch[2] [5] ={"6937","8254"},* p[2] ; int i,j,s=0; for(i=0;i<2;i++) p[i] =ch[i] ; for(i=0;i<2;i++) for(j=0;p[i] [j] >'\0';j+=2) s=10 * s+p[i] [j] -'0'; cout < < s;} 该程序的输出结果是A.69825B.63825C.6385D.693825

有以下程序 main() { char *p[]={"3697","2548"}; int i,j; long num=0; for(i=0;i<2;i++) {j=0; while(p[i][j]!='\0') { if((p[i][j]-'0')%2) num=10*num+p[i][j]-'0'; j+=2; } } printf("%d\n",num); } 程序执行后的输出结果上______。A.35B.37C.39D.3975

有如下程序 gincludevoid main(){char ch[2] [5]={”6937","8254"),*p[2];int i,j,S 有如下程序 #ginclude<iostream.h> void main() {char ch[2] [5]={”6937","8254"),*p[2]; int i,j,S=0 for(i=0;i<2:i++)p[i]=ch[i]; for(i=0;i<2:i++) for(j=0;p[i] [j]>'\0';j+=2) s=10*s+p[i] [j]-'0': cout<<s;} 该程序的输出结果是( )。A.69825B.63825C.6385D.693825

以下程序运行后,输出结果是 ( ) main( ) {char ch[2][5]={"693","825"},*p[2]; int i,j,s=0; for(i=0;i<2;i+ +)p[i]=ch[i]; for(j=0;j<2;j+ +) for(j=0;p[i][j]>='0' p[i][j]<='9';j+=2) s=10 * s+p[i][j]-'0'; printf("%d\n",s); }A.6385B.22C.33D.693825

如下程序:includevoid main(){char str[2][5]={"1234","5678"),*p[2];int i,j,s=0; 如下程序: #include<iostream.h> void main() { char str[2][5]={"1234","5678"),*p[2]; int i,j,s=0; for(i=0;i<2;i++)p[i]=str[i]; for(i=0;i<2;i++) for(j=0;p[i][j]>'\0';j+=2) s=10*s+p[i][j]-'0'; cout<<s; } 该程序的输出结果是( )。A.1357B.2468C.3556D.23678

有如下程序includevoid main( ){char ch[2][5]={"6937","8254"},*p[2];int i,j,s=0 有如下程序 #include<iostream.h> void main( ) { char ch[2][5]={"6937","8254"},*p[2]; int i,j,s=0; for(i=0;i<2;i++)p[i]=ch[i]; for(i=0;i<2;i++) for(j=0;p[i][j]>'\0';j+=2) s=10*s+p[i][j]-'0';A.69825B.63825C.6385D.693825

有以下程序:includevoid f(char p[][10],int n){char t[10];int i,j;for(i=0;i 有以下程序: #include<string.h> void f(char p[][10],int n) {char t[10];int i,j; for(i=0;i<n-1;i++) for(j=i+1;j<n;j++) if(strcmp(p[i],p[j])>0) {strcpy(t,p[i]);strcpy(p[i],p[j]);strcpy(p[j],t);} } main() {char p[5][10]={"abc","aabdfg","abbd","dedbe","cd"}; f(p,5); printf("%d\n",strlen(p[0]));} 程序运行后的输出结果是( )。A.2B.4C.6D.3

有如下程序 main() { char ch[2][5]={"6937","8254"},*p[2]; int i,j,s=0; for(i=0;i<2;++)p[i]=ch[i]; for(i=0;i<2;i++) for(j=0;p[i][j]>'\0';j+=2) s=10*s+p[i][j]-'0'; printf("%d\n",s);} 该程序的输出结果是A.69825B.63825C.6385D.693825

下述程序的输出结果是( )。 #includestdio.h main { char chE2][5]-{”1234”,”5678”},*p[2]; int i,j,s=0; for(i=0;i2;i++) p[i]=ch[i]; for(i=0;i2;i++) { s=p[i][j]一0; printf("%d",s);} }A.6357B.6135C.1357D.691357

下列程序运行后,输出结果是______。main(){ char ch[2][5]={"693","825"),*p[2]; int i,j,s=0; for (i=0;i<2;i++) p[i]=ch[i]; for (i=0;i<2;i++) for (j=0;p[i][j]>='0' p[i][j]<='9';j+=2) s=10*s+p[i][j]-'0'; printf("%d\n",s);}A.6385B.22C.33D.693825

下列程序的输出结果是()。includemain() {char ch[2][5]={"1234","5678"},*p[2];int i, 下列程序的输出结果是( )。 #include<stdio.h> main() { char ch[2][5]={"1234","5678"},*p[2]; int i,j,s=0; for(i=0;i<2;i++) p[i]=ch[i]; for(i=0;i<2;i++) for(j=0;p[i][j]>'\0';j+=2) { s=p[i][j]-'0'; printf("%d",s);} }A.6357B.6135C.1357D.691357

有如下程序: main() {char ch[2][5]={"6937","8254"},*p[2]; int i,j,s=0; for(i=0;i<2;i++)p[i]=ch[i]; for(i=0;i<2;i++) for(j=0;p[i][j]!='\O';j+=2) s=10*s+p[i][j]-'0'; printf("%d\n",s);} 该程序的输出结果是______。A.69825B.63825C.6385D.693825

有如下程序includevoid main(){char ch[2][5]={"6937","8254"},*p[2];int i,j,s=0; 有如下程序 #include<iostream.h> void main() {char ch[2][5]={"6937","8254"},*p[2]; int i,j,s=0; for(i=0;i<2;i++)p[i]=ch[i]; for(i=0;i<2;i++) for(j=0;p[i][j]>'\0';j+=2) s=10*s+p[i][j]-'0'; cout<<s; return 0; } 该程序的输出结果是( )。A.69825B.63825C.6385D.693825

如下程序的输出结果是includemain(){ char ch[2)[5]={"6937","8254"},*p[2];int i,j,s 如下程序的输出结果是 #include<stdio.h> main() { char ch[2)[5]={"6937","8254"},*p[2]; int i,j,s=0; for (i=0;i<2;i++) p[i]=ch[i]; for (i=0;i<2;i++) for(j=0;p[i][j]>'\0';j+=2) s=10*s+p[i][j]-'0'; printf("%d\n",s);}A.69825B.63825C.6385D.693825

有如下程序includevoid main(){charch [2][5]={"6937","8254"},*p[2]; int i,j,s=0 有如下程序 #include<iostream.h> void main() { charch [2][5]={"6937","8254"},*p[2]; int i,j,s=0; for(i=0;i<2;i++)p[i]=ch[i]; for(i=0;<2;i++) for(j=0;p[i][j]>‘\0’;j+=2) s=10*s+p[i][j]-’0’; cout<<s;} 该程序的输出结果是A.69825B.63825C.6385D.693825

下述程序的输出结果是( )。#includestdio.hmain{ char ch[2][5]-{”1234”,”5678”},*p[2];int i,j,s=0;for(i=0;i2;i++)p[i]=ch[i];for(j=0;j2;j++){ s=p[i][j]一0;printf(%d,s);}}A.6357B.6135C.1357D.691357

有如下程序:includeiostream.hvoidmain(){charch[2][5]={6937,8254iostream.hvoidmain(){charch[2][5]={6937,8254),*p[2];inti,j,s=0;for(i=0;i(2;i++)p[i]=ch[i];for(i=0;i2;i++)for(j=0;p[i][j]\0;j+=2)s=10*s+p[i][j]-0;cout<<s;}该程序的输出结果是( )。A.69825B.63825C.6385D.693825

下列程序的输出结果是()。 inClude main() {charch[2][5]={"1234","5678"},*p[2]; int 下列程序的输出结果是( )。#inClude<stdio.h>main(){ charch[2][5]={"1234","5678"},*p[2];int i,j,s=0;for(i=0;i<2;i++)p[i]=ch[i];for(i=0;i<2;i++)for(j=0;p[i][j]>'\0';j+=2){ s=p[i][j]-'0';printf("%d",s);}}A.6357B.6135C.1357D.691357

单选题有以下程序#includemain(){ charc[2][5]={6938,8254},*p[2]; inti,j,s=0; for(i=0;i2;i++)  p[i]=c[i]; for(i=0;i2;i++)  for(j=0;p[i][j]0;j+=2)   s=10*s+p[i][j]-'0'; printf(%d,s);}程序运行后的输出结果是(  )。A9284B9824C6982D6385