有如下程序:#includevoid main( ){char ch[2] [5] ={"6937","8254"},* p[2] ;int i,
13 查阅
有如下程序: #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.69825
B.63825
C.6385
D.693825
参考答案: