1

An array is declared using the statement Dim inventory(4) As Product. Which of the following statements assigns the number 100 to the intQuantity member variable contained in the last array element?

Correct Answer: inventory(3).intQuantity = 100

Make the most of this question

This page focuses on one Visual Basics MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

Visual Basics MCQs MCQ: An array is declared using the statement Dim inventory(4) As Product. Which of the following statements assigns the number 100 to the intQuantity member variable contained in the last array element? | Extra Education