Q. Which function is used to sort an array in ascending order?
β
Correct Answer: (C)
sort()
Explanation: sort() sorts an array in ascending order.