Q. Which function is used to get the length of an array?
β
Correct Answer: (D)
Both option1 and option2
Explanation: count() and sizeof() both return the number of elements in an array.