An array is declared using the statement Dim cities(10) As CityInfo. Which of the following statements assigns

Question:

An array is declared using the statement Dim cities(10) As CityInfo. Which of the following statements assigns the number 4500 to the intPopulation member variable contained in the last array element?

a. cities.intPopulation(10) = 4500

b. cityInfo.cities.intPopulation = 4500

c. cities(9).intPopulation = 4500

d. cities(10).intPopulation = 4500

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: