有以下程序段 int a[10]={1,2,3,4,5,6,7,8,9,10},*p=&a[3],b; b=p[5];则b的值是( )。
A. 5
B. 6
C. 8
D. 9
有以下程序段 #include int main(void){ int a[ ] = {10, 20, 30};int *p = a;printf("%d,", ++*p); printf("%d,", *p); p = a;printf("%d,", (*p)++); printf("%d,", *p); p = a;printf("%d,", *p++); printf("%d,", *p); p = a;printf("%d,", *++p); printf("%d\n", *p); }程序运行后的输出结果是(
A. 11,11,11,12,12,20,20,20
B. 20,10,11,10,11,10,11,10
C. 11,11,11,12,12,13,20,20
D. 20,10,11,20,11,12,20,20