Q. 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?

  • (A) inventory.intQuantity(4) = 100
  • (B) Property
  • (C) inventory(3).intQuantity = 100
  • (D) inventory(4).intQuantity=100
πŸ’¬ Discuss
βœ… Correct Answer: (C) inventory(3).intQuantity = 100

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
122
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Vikash Gupta
Publisher
πŸ“ˆ
87%
Success Rate