Ask Question
7 October, 09:30

Sorts by value in reverse order; keeps the same key

Select one:

a. sort ()

b. arsort ()

c. rsort ()

d. asort ()

+3
Answers (1)
  1. 7 October, 09:44
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers