πŸ“Š Ruby
Q. What will be the output of the following?
array = [100, 200, 300, 400, 500]
print array[4]
  • (A) 400
  • (B) 500
  • (C) Nil
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (B) 500

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
121
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
93%
Success Rate