Q. Which of the following functions can be used to sort an array in reverse order?

  • (A) rsort()
  • (B) sort()
  • (C) reverse_sort()
  • (D) asort()
πŸ’¬ Discuss
βœ… Correct Answer: (A) rsort()
Explanation: rsort() sorts an array in descending order.
Explanation by: Mr. Dubey
rsort() sorts an array in descending order.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
87
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
87%
Success Rate