• 2022-06-19
    下列一维数组声明语句错误的是( B )。
    A: DIM B(100) AS DOUBLE
    B: DIM B(-20 TO -50) AS INTEGER
    C: DIM B(-15 TO 0)
    D: DIM B(5 TO 5) AS STRING
  • B

    内容

    • 0

      下列数组声明语句,________是正确的。 A: Dim a(2,3) As Integer B: Dim a(m,n) As Integer C: Dim a(2 3) As Integer D: Dim a[3,2] As Integer

    • 1

      如下数组声明语句,正确的是( )。 A: Dim A(3,4) As String B: Dim A(3 4) As Integer C: Dim A(N,N) As Single D: Dim A[3,4] As Intiger

    • 2

      如下数组声明语句,正确的是 A: Dim a[3,4]As Integer B: Dim a(3,4)As Integer C: Dim a(n,n) As Integer D: Dim a(3,4)%

    • 3

      以下定义数组的语句中,正确的是______。 A: Dim a( ,) as Integer B: Dim a(5 To 1) As Integer C: Dim a(-3 To 2000) As Single D: Dim a(n) As Double

    • 4

      下列数组声明正确的是( )。 A: n=5 Dim a(1 to n) As Integer B: Dim a(10) As Integer ReDim a(1 To 12) C: Dim a() As Single ReDim a(3,4) As Integer ReDim a(1 to n)As Integer D: Dim a() As Integer n=5