Q. Which function can be used to sort an array in ascending order? (A) sort() (B) rsort() (C) asort() (D) ksort() ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (A) sort() Explanation: sort() sorts indexed arrays in ascending order.