Question
Which of the functions is used to sort an array in descending order?
Answer: Option C
Was this answer helpful ?
sort() function is used to sort in ascending order where as rsort() meaning reverse sort is used for sorting in descending order.
Was this answer helpful ?
Submit Solution