在定义int a[5][4];之后,对a的引用正确的是()
A.a[2][4]
B.a[5][0]
C.a[0][0]
D.a[0,0]
第1题:
若有以下定义语句:int a[10]={1,2,3,4,5,6,7,8,9,10}; 则下列哪个是对该数组元素的正确引用( )
A. a[10]
B. a[a[3]-5]
C. a[a[9]]
D. a[a[4]+4]
第2题:
若有以下定义,则对a数组元素地址的正确引用是( )。
int a[5],*p=a;
A)p 5
B)*a 1
C)&a 1
D)&a[0]
第3题:
若有以下定义和语句: int s[4][5],( *ps)[5]; ps=s; 则对s数组元数的正确引用形式是
A.ps+1
B.*(ps+3)
C.ps[0][2]
D.*(ps+1)+3
第4题:
若有下列定义,则对a数组元素地址的正确引用是( )。 int a[5],*p=a;
A.p+5
B.*a+1
C.&a+1
D.&a[0]
第5题:
若有以下定义,则对数组元素的正确引用是( )。 int a[5],*p=a;
A.*&a[5]
B.(*A)2
C.*p+4
D.(a+2)
第6题:
若有下列定义,则对a数组无素地址的正确引用是( )。 int a[5],*p=a;
A.p+5
B.*a+1
C.&a+1
D.&a[0]
第7题:
下列定义正确的是( )
A.static int a[]={1,2,3,4,5}
B.int b[]={2,5}
C.int a(10)
D.int 4e[4]
第8题:
若有以下定义语句: double a[5],*p=a; int i=0; 对a数组元素错误的引用是( )
A.a[i]
B.a[5]
C.p[4]
D.p[i]
第9题:
下列的数组定义语句,不正确的是()。
第10题:
以下的数组定义语句中,不正确的是()
第11题:
a(3,4)
a(3)(4)
a[3][4]
a[3,4]
第12题:
a(3,4)
a(3)(4)
a[3][4]
a[3,4]
第13题:
若有以下定义,则对a数组元素的正确引用是( )。
int a[5],*p=a;
A)*&a[5]
B)*a 1
C)*(p 5)
D)*(a 2)
第14题:
已知:int n=10; 在下列定义引用的语句中,正确的是( )。
A.int &x=n;
B.int x=&n;
C.int &x;
D.int &x=&n;
第15题:
若有以下定义和语句: int s[4][5],(*ps)[5]; ps=s; 则对s数组元素的正确引用形式是( )。
A.ps+1
B.*(ps+3)
C.ps[0][2]
D.*(ps+1)+3
第16题:
若有定义int a[5],*p=a;则正确引用数组元素的是( )。
A.*&a[5]
B.*a+2
C.*(p+5)
D.*(a+2)
第17题:
若有下列定义,则对a数组元素地址的正确引用是( )。int a[5],*p=a;
A.p+5
B.a+1
C.&a+1
D.&a[0]
第18题:
A、a(1,2)
B、a[1,3]
C、a[2][0]
D、a[1>2][!1]
第19题:
若有下列定义,则对a数组元素地址的正确引用是( )。
int a[5],*p=a;
A.p+5
B.*a+1
C.&a+1
D.&a[0]
第20题:
有定义语句:int[,]a=new int[5,6]; 则下列正确的数组元素的引用是()。
第21题:
有定义语句: int[,] a=new int[5,6]; 则下列正确的数组元素引用是()
第22题:
在Java语言中如下定义:int[]a=new int[10];则对a数组元素的正确引用是()。
第23题:
int[] a=new int[5]{1,2,3,4,5};
int[,] a=new int[3][4];
int[][] a=new int[3][];
int[] a={1,2,3,4,5};
第24题:
a[10]
a[3+1]
a(5)
a[0]