Ask Question
24 February, 21:03

Sorts by value in reverse order; keeps the same key

Select one:

a. sort ()

b. arsort ()

c. rsort ()

d. asort ()

+5
Answers (1)
  1. 25 February, 00:40
    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?
Get 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 & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers