以下程序的运行结果是________。#include main(){int a[]={1,2,3,4,5,6};int *p=a;printf("%d,",*p);printf("%d,",*(++p));printf("%d,",*++p);printf("%d,",*(p--));p+=3;printf("%d,%d\n",*p,*(a+3));}
A. 1,2,3,3,2,1
B. 1,2,3,3,5,4
C. 1,3,5,3,3,3
D. 1,3,5,5,3,1
以下程序的运行结果是_______。#include main(){char str[2][5]={"7045","9265"},*a[2];int i,j,s=0;for (i=0;i<2;i++)a[i]=str[i];for (i=0;i<2;i++)for (j=0;a[i][j]>'0' && a[i][j]<='9';j+=2)s=10*s+a[i][j]-'0';printf("%d\n",s);}
A. 7496
B. 70936
C. 74936
D. 704936
以下程序的运行结果是______。#include main(){static char c[]="china";char *p=c;while (*p)printf("%c",*p++-32);printf("\n");}
A. china
B. CHINA
C. ch
D. 陷入死循环
以下程序的运行结果是________。#include main(){char *pp[2][3]={"abc","defgh","ijkl","mnopqr","stuvw","xyz"};printf("%c",***(pp+1));printf("%c",**pp[0]);printf("%c",(*(*(pp+1)+1))[4]);printf("%c",*(pp[1][2]+2));printf(",%s\n",**(pp+1));}
A. mawz,defgh
B. mawz,mnopqr
C. adim,defgh
D. adim,mnopqr