Question: 3. 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

3. 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

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock