Which of the functions is used to sort an array in descending order?
Which of the functions is used to sort an array in descending order? Correct Answer rsort()
The function sort() will sort the arrays in ascending order, the function rsort() will sort arrays in descending order. While the function asort() will sort associative arrays in ascending order, according to the value.
মোঃ আরিফুল ইসলাম
Feb 20, 2025