An application uses a structure named Employee. Which of the following statements declares a five-element array of Employee structure variables?
A. Dim workers(4) As Employee
B. Dim workers(5) As Employee
C. Dim workers As Employee(4)
D. Dim workers As Employee(5)
Answer: Option B
Related Questions on Visual Basic
Which of the following extension is used to represent the project file in Visual Basic?
A. .vbp
B. .vb
C. .cls
D. .vvb
Which of the following applications can be developed using Visual Basic tool?
A. Graphical User Interface
B. Real-time
C. Character User Interface
D. All of the mentioned
In visual basic language what are the rules of a programming language called?
A. Grammar
B. Order
C. Syntax
D. Rules
Join The Discussion