Question: 12. Which of the following assigns the string Rover to the fifth element in a onedimensional array named strPetNames? a. strPetNames(4) = Rover b. strPetNames[4]

12. Which of the following assigns the string “Rover” to the fifth element in a onedimensional array named strPetNames?

a. strPetNames(4) = "Rover"

b. strPetNames[4] = "Rover"

c. strPetNames(5) = "Rover"

d. strPetNames.Items.Add(5) = "Rover"

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