没有搜到到结果?点击这里求解答/求资源。
【单选题】
假定对二维数组a[3][4]进行初始化的数据为{{3,5,6},{2,8},{7}},a[1][1]元素被初始化为( )。

6
2
5
8
【单选题】
假定对二维数组a[3][4]进行初始化的数据为{{3,5,6},{2,8},{7}},a[1][1]元素被初始化为( )。

6
2
5
8
【单选题】
动态数组a(),若原数组为a(3),若要改为a(6)时,为保证数组原来的数据不丢失,应使用下列( )语句进行定义。

ReDim a(6)
Dim a(6)
ReDim a(3 To 6)
ReDim Preserve a(6)
【单选题】
假定p为指向二维数组int d[4][6]的指针,p的类型为( )。

int*
int**
int[6]
int(*)[6]
【单选题】
语句Dim a(3 ,-2 to 2,5)声明数组a包含的元素个数有多少个?

120
75
60
13
【单选题】
用StaticM(30to50)AsInteger语句定义的数组的元素个数()。

50
20
21
80
【多选题】
以下各组选项中,不能正确定义二维实型数组s的选项()

float s[3][4];float s[ ][4];float s[3][ ]={{1},{0}}
float s(3,4);float s[ ][ ]={{0};{0}};float s[3][4]
float s[3][4];float s[ ][4]={{0},{0}}; float s[ ][4]={{0},{0},{0}}
float s[3][4];float s[3][ ];float s[ ][4]
【单选题】
下列声明数组语句中,错误的选项( )

var student =new Array( );
var student =new Array(3);
var student[] =new Array(3) (4);
var student =new Array(rose,mick);
【单选题】
若已有char b[10][50];二维字符数组在内存所占字节数为()

10
50
60
500
【单选题】
语句Dim A(-3 to 3,2) As Long定义的数组元素个数

8
9
14
21