已知:Option Base 0,Dim a() As Integer, Dim b(4) As Single,Dim c(4) As Integer,则下列赋值操作中,正确的赋值是
举一反三
- 下列数组声明语句,________是正确的。 A: Dim a(3, 4) As Integer B: Dim a(3, 4) As Single C: Dim a{3, 4} As Integer D: Dim a[3, 4] As Integer E: Dim a(3 4) As Integer F: Dim a[3:4] As Integer
- 已知:Option Base 0,Dim a() As Integer, Dim b(-1 to 2) As Integer,如果执行 a = b ,则数组a的下界是
- 下列数组声明初始化语句,( )是正确的。 A: Dim a( ) As Single={1,2,3,4,5} B: Dim a( , ) As Integer={1,2,3,4,5,6,7,8,9,10} C: Dim a( ) As Integer=(1,2,3,4,5) D: Dim a(4) As Single={1,2,3,4,5}
- 在窗体模块的通用声明段有Option Base 1语句,以下不能正确定义1个4×3数组的语句是( ) A: Dim a (-2 To 1,3) As Integer B: Dim a (3,2) As Integer C: Dim a (4,3) As Integer D: Dim a(-4 To -1,-3 To -1) As Integer
- 下列数组声明语句中,正确的是_________。 A: Dim a(5) As Integer = {11,22,33,44,55} B: Dim a( , ) As Single = {{1,2,3,4,5},{6,7,8,9,0}} C: Dim a(x) As Single x此前未声明 D: Dim a(4) As Integer = {1,2,3,4,5}