Ask Question
29 November, 09:33

Sorts by value in reverse order; keeps the same key

Select one:

a. sort ()

b. arsort ()

c. rsort ()

d. asort ()

+3
Answers (1)
  1. 29 November, 11:58
    0
    rsort ()

    Explanation:

    the sorting function is used to sort the elements in the array.

    the sorting can be increasing or decreasing, depends on the function used.

    let discuss the option:

    a. sort ()

    this is the sorting function, it used to sort the array in ascending order.

    b. arsort ()

    this is also sorting function, it used to sort the associated array in descending order according to the value.

    d. asort ()

    this is also sorting function, it used to sort the associated array in ascending order according to the value.

    c. rsort ()

    this is the sorting function, it used to sort the array in descending order.

    Therefore, the correct answer is rsort ().
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Sorts by value in reverse order; keeps the same key Select one: a. sort () b. arsort () c. rsort () d. asort () ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers