下列程序的输出结果是______。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() { 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
有如下程序 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
如下程序的输出结果是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
有如下程序 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
以下程序的输出结果是______。 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.59713C.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';A.69825B.63825C.6385D.693825
有如下程序 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
下列程序运行后,输出结果是______。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
有如下程序: 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.693825D.6385
以下程序运行后,输出结果是______。 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
有如下程序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