Consider the following structure definition. Which Dim statement would correctly declare an array of this structure for elements having subscripts from 0 through 30?
```
Structure carType
Dim yr As Integer
Dim make As String
Dim model As String
End Structure
```
(A) You cannot have an array of structures.
(B) Dim carType(30)
(C) Dim car(30) As carType
(D) Dim carType(30) As car
(C) Dim car(30) As carType
You might also like to view...
How many times will the following code print "Welcome to Java"?
int count = 0; do { System.out.println("Welcome to Java"); count++; } while (count < 10); a. 8 b. 9 c. 10 d. 11 e. 0
Given the following pseudocode, what value of GRADENUM can be input to output a grade of “B”?
``` Start Read GRADENUM CASENTRY GRADENUM CASE 90 ? GRADENUM ? 100 GRADE = “A” CASE 80 ? GRADENUM ? 90 GRADE = “B” CASE 70 ? GRADENUM ? 80 GRADE = “C” CASE 60 ? GRADENUM ? 70 GRADE = “D” CASE other GRADE = “F” ENDCASE Write GRADE Stop ``` a) 80 b) 90 c) less than 80 d) greater than 90