What is the use of sort_heap() function in heap?
(a) To sort the elements in the heap into descending order
(b) To sort the elements in the heap into ascending order
(c) To sort the first half of the heap
(d) To sort the second half of the heap
The question was asked in an online quiz.
This question is from STL in portion Class Hierarchies, Library & Containers of C++