← BYTES
Visual Basic·Starter·Ref: 24.1.11
Which statement declares a fixed-size array of 10 integers (indices 0 to 9) in Visual Basic?
Have a question about this video? Mention reference 24.1.11 when you contact us.
a.Dim arr As Integer(10)
b.Dim arr[10] As Integer
c.Array arr(10)
d.Dim arr(9) As Integer
Dim arr(9) As Integer declares an array with indices 0 through 9 (10 elements total), since VB array bounds are inclusive and default to 0-based.
Find this on YouTube & Instagram
Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:
#BYTES#BYTES24111#VisualBasic