• 2022-06-03
    下列数组定义中错误的是______。
    A: Dim a(-5 To-3)
    B: Dim a(3 To 5)
    C: Dim a(-3 To-5)
    D: Dim a(-3 To 3)
  • C

    内容

    • 0

      下列数组声明语句,________是正确的。 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

    • 1

      下列数组声明语句中,不正确的是_________。 A: Dim a(9) As Single = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} B: Dim a() = {1, 2, 3, 4, 5, 6, 10} C: Dim a( ,) As Single = {{1, 2, 3, 4, 5}, {6, 7, 8, 9, 10}} D: Dim a() As Single = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} E: Dim n As Integer=10Dim a(n) As Single

    • 2

      用语句 Dim A(-3 to 5)As Long 定义的数组元素个数是()。

    • 3

      下列数组声明语句中,不正确的是_________。 A: Dim a(3) As Single = {0, 1, 2, 3} B: Dim a%(3) C: Dim a(1, 4) As Single D: Dim a(4) As Single

    • 4

      下面的数组声明语句中( )是正确的。 A: Dim A(3, 4) As Integer B: Dim A(3; 4) As Integer C: Dim A[3, 4] As Integer D: Dim A[3; 4] As Integer