【单选题】
假定对二维数组a[3][4]进行初始化的数据为{{3,5,6},{2,8},{7}},则a[1][1]元素被初始化为( )。
【单选题】
假定对二维数组a[3][4]进行初始化的数据为{{3,5,6},{2,8},{7}},则a[1][1]元素被初始化为( )。
【单选题】
对动态数组a(),若原数组为a(3),若要改为a(6)时,为保证数组原来的数据不丢失,应使用下列( )语句进行定义。
【单选题】
假定p为指向二维数组int d[4][6]的指针,则p的类型为( )。
【单选题】
语句Dim a(3 ,-2 to 2,5)声明的数组a包含的元素个数有多少个?
【单选题】
用StaticM(30to50)AsInteger语句定义的数组的元素个数是()。
【多选题】
以下各组选项中,不能正确定义二维实型数组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];则该二维字符数组在内存所占字节数为()
【单选题】
用语句Dim A(-3 to 3,2) As Long定义的数组元素个数是 。