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

有下列程序: main( ) { char*P[]={"3697","2584"); int i,j;long num=0; for(i=0;i<2;i++) {j=0; while(p[i][j]!=\0) {if((p[i][j]-t\0)%2)num=10*num+p[j][j]-0; j+=2; } } printf("%d\n",num); } 程序执行后的输出结果是( )。

A.35

B.37

C.39

D.3975


相关考题:

有以下程序main(){ char *p[]={"3697","2584"};int i,j; long num=0;for(i=0;i2;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

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

有以下程序 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

有以下程序:include main( ) char * p[ ] = {"3697" ,"2548" }; int i,j;long num =0 有以下程序: #include <stdio.h> 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

有以下程序: main() {char*p[]={"3697","2584"}; 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

有下列程序: main { char*p[]={"3697","2584"}; int i,j;long num=0; for(i=0;i2:i++) { j=0; while(p[i][j]!=\0) { if((p[i][j]-\0 )%2)num=1O*num+p [j][j]-0; j+=2; } } printf("%d\n",num); } 程序执行后的输m结果是( )。A.35B.37C.39D.3975

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

有下列程序:main{ char*p[]={3697,2584};int i,j;long num=0;for(i=0;i2:i++){ j=0;while(p[i][j]!=\0){ if((p[i][j]-\0 )%2)num=1O*num+p[j][j]-0;j+=2;}}printf(%d\n,num);}程序执行后的输m结果是( )。A.35B.37C.39D.3975

下列程序的输出结果是()。 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