JAVA语言中,若有说明int a[10];则对a数组元素的正确的引用是()。
第1题:
(29)若有以下定义
int x[10],*pt=x;
则对x数组元素的正确应用是
A)*&x[10] B)*(x+3) C)*(pt+10) D)pt+3
第2题:
A.a[10]
B."a[3,5]"
C.a(5)
D.a[10-10]
第3题:
若有以下定义
int x[10],*pt=x;
则对数组元素的正确引用是
A)*&x[10]
B)*(x+3)
C)*(pt+10)
D)pt+3
第4题:
若有下列定义,则对a数组元素地址的正确引用是( )。 int a[5],*p=a;
A.p+5
B.*a+1
C.&a+1
D.&a[0]
第5题:
若有说明:int a[3][4];则对a数组元素的非法引用是
A.a[0][2*1]
B.a[1][3]
C.a[4-2][0]
D.a[0][4]
第6题:
若有定义int a[9],+P=a;,则P+5表示( )。
A.数组元素a[5]的值
B.数组元素a[5]的地址
C.数组元素a[6]的地址
D.数组元素a[0]的值加上5
第7题:
A. a[10]
B. a[ 3.5]
C. a(5)
D. a[0]
第8题:
若有以下定义,则对a数组元素地址的正确引用是( )。 int a[5],*p=a;
A.p+5
B.*a+1
C.&a+1
D.&a[0]
第9题:
若有定义int a[10],*p=a,则p+6表示( )。
A.数组元素a[5]的值
B.数组元素a[5]的地址
C.数组元素a[6]的地址
D.数组元素a[0]的值加上5
第10题:
若有下列定义,则对a数组元素地址的正确引用是( )。int a[5],*p=a;
A.p+5
B.a+1
C.&a+1
D.&a[0]