A.p=&n;scanf("%d",&p) B.p=&n;scanf("%d",*p) C.scanf("%d",&n);p=n D.p=&n;p=m
執(zhí)行以下程序段后,s的值是() static int a[]={5,3,7,2,1,5,4,10}; int s=0,k; for(k=0;k<8;k+=2) s+=*(a+k);
A.17 B.27 C.13 D.有語法錯誤,無法確定
如下程序的執(zhí)行結(jié)果是() #include < stdio.h> main() { static int a[ ][4]={1,3,5,7,9,11,13,15,17,19,21,23}; int (*p)[4], i=1,j=2; p=a; printf(""%d \n "",(*(p+i)+j)); }
A.9 B.11 C.13 D.17