Q. Which function is used to count elements in an array? (A) length() (B) size() (C) count() (D) total() ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (C) count() Explanation: count() returns the number of elements in an array.