使用下列语句:Dim x(1 to 10,3) As Single,则数组占用内存空间的字节数是()A、132B、80C、160D、120
使用下列语句:Dim x(1 to 10,3) As Single,则数组占用内存空间的字节数是()
- A、132
- B、80
- C、160
- D、120
相关考题:
下面可以正确定义2个整形变量和1个字符串变量的语句的是( )。A.Dim n,m AS Interger,s AS StringB.Dim a%,b$,c AS StringC.Dim a AS Integer,b,c AS StringD.Dim x%,y AS Integer,z AS String
( 11 )下面可以正确定义 2 个整形变量和 1 个字符串变量的语句的是( )A ) Dim n,m AS Interger,s AS StringB ) Dim a%,b$,c AS StringC ) Dim a AS Integer,b,c AS StringD ) Dim x%,y AS Integer,z AS String
下列数组定义语句错误的是( )。A.k%=10Dim Arr(k)B.Const k%=10Dim Arr(k)C.Dim Arr1(10) As IntegerDim Arr2 (10)D.Dim Arr1(1 To 10)Dim Arr2(1 To 10, 2 To 11)
下面的数组声明语句中正确的是A.Dim gg[1,5]As StringB.Dim gg[1 To 5,1 To 5]As StringC.Dim gg(1 To 5) As StringD.Dim gg[1:5,1:5]As String
下列哪个语句定义了包含12个元素的整型数组( )。 A、Dim a(3,4) As IntegerB、Dim a(1 to 12)%C、Dim a%(-1 to 1,3)D、Dim a(1 to 2,3 to6) As Long
下列哪个语句定义了包含8个元素的单精度数组( ) A、Dim a(2,4) As Single3CB、 Dim a(1 to 8)!C、Dim a!(7)D、 Dim a(1 to 2,3 to 6) As Long
要在窗体Form1中定义一个可以在窗体Form2中使用的整型变量X,可在Form1窗体的通用部分输入语句( )。A.Dim X As IntegerB.Static X As IntegerC.Private X As IntegerD.Public X As Integer
以下定义数组或给数组元素赋值的语句中,正确的是A.Dim x%(2) x(1)="等级考试"B.Dim x(3), y(3)As Integer x(0)=1:y=xC.Dim x x=Array(0,1,2)D.Dim x(3)As Integer x=Array(0,1,2)
下列数组定义语句中,错误的是( )。A.Static a(10) As IntegerB.Dim c(3,1 To 4)C.Dim d(-10)D.Dim b(0 To 5,1 To 3)As Integer
下列数组定义语句错误的是A.k%=10 Dim Arr(k)B.Const k%=10 Dim Arr(k)C.Dim Arrl(10) As Integer Dim Arr2(10)D.Dim Arrl(1 To 10) Dim Arr2(1 To 10,2 To 11)
下列数组声明语句中,正确的是( )。 A.Dim A[3,4]As IntegerB.Dim A(3,4)As IntegerS 下列数组声明语句中,正确的是( )。A.Dim A[3,4]As IntegerB.Dim A(3,4)As IntegerC.Dim A[3;4]As IntegerD.Dim A(3;4)As Integer
下列数组说明语句正确的是A.Dim g(0,-5)As SingleB.Dim h(100 To 100,100)As StringC.Dim x(5)As Integer ReDim x(10)As IntegerD.Dim y() ReDim y
下列各语句中,正确的是A) Dim x As Variant=Array(1, 2,3, 4. 5)B)Dim xo As Integer: x=Array (1, 2:3: 4.5)C)Dim x As ariant: x=Array(1: abc: 2,3. 41)D) Dim x As Integer: x=Arra (1, 2, 3+25)
在VB中,使用变量前一般应对变量进行定义。以下变量定义语句错误的是()。A、Dim x As IntegerB、Dim x As Integer,y As SingleC、Var x,y:IntegerD、Dim x As Integer,y As Integer
下列定义abc过程的语句,正确的是()A、Dim Sub abc(x,y)B、Public abc(x,y)C、Private Sub abc(x,y)As IntegerD、Sub abc(x,y)
如果不使用Option Base语句,则下面数组说明语句等效的有()A、Dim A(0to8,0to3)B、Dim A(1to8,1to3)C、S Dim A(7,2)D、Dim A(8,3)
单选题使用下列语句:Dim x(1 to 10,3) As Single,则数组占用内存空间的字节数是()A132B80C160D120