有如下程序int a[10]={1,2,3,4,5,6,7,8,9,10};int*p=a[3],b;b=p[5];则b的值是A.5B.6C.9D.8
有如下程序int a[10]={1,2,3,4,5,6,7,8,9,10};int*p=&a[3],b;b=p[5];则b的值是
A.5
B.6
C.9
D.8
相关考题:
有以下程序:includcstdio.hvoid fun(int *p){printf(%d\n,p[5]);}main( ){int a[10]={1,2,3,4,5,6,7,8,9,10};fun(a[3]);}程序运行后的输出结果是( )。A.5B.6C.8D.9
有以下程序#includestdio.hvoid fun(int*p){printf("%d\n",p[5]);}main(){ int a[10]={1,2,3,4,5,6,7,8,9,10};fun(a[3]);}程序运行后的输出结果是A.5B.6C.8D.9
有以下程序: #includcstdio.h void fun(int *p) {printf("%d\n",p[5]);} main( ) {int a[10]={1,2,3,4,5,6,7,8,9,10}; fun(a[3]); } 程序运行后的输出结果是( )。A.5B.6C.8D.9
有如下语句 int a[10] = {1,2,3,4,5,6,7,8,9,10};int *p = a;则数值为9的表达式是______A.*p+9B.*(p+8)C.*p+=9D.p+7