Q. Which function returns the number of elements in an array?

  • (A) count()
  • (B) length()
  • (C) sizeof()
  • (D) elements()
πŸ’¬ Discuss
βœ… Correct Answer: (A) count()
Explanation: count() is used to count all elements in an array.
Explanation by: Rati Dubey
count() is used to count all elements in an array.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
110
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
98%
Success Rate