adplus-dvertising
frame-decoration

Question

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)

Posted under Visual Basic

Answer: (b).Dim workers(5) As Employee

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. An application uses a structure named Employee. Which of the following statements declares a five-element array of Employee structure variables?