Q. Which function is used to sort the elements of an array?

  • (A) sort()
  • (B) order()
  • (C) arrange()
  • (D) sequence()
πŸ’¬ Discuss
βœ… Correct Answer: (A) sort()
Explanation: sort() sorts the elements of an array in place and returns the array.
Explanation by: Mr. Dubey
sort() sorts the elements of an array in place and returns the array.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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