Question: What is the use of sort_heap() function in heap?

Options

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

Click to view Correct Answer

Previous ||

Cplusplus Programming Stl Heap more questions

What is the use of baffles in the gravitational separators?

The set inputs are used in a decade counter, why?

Why is the Dwell meter used?

Which method is better?

What is the function of the motor starter with respect....

Sharpening is analogous to which of the following operations?

Which of the following is the original purpose of SQL?

Which of the following is untrue about Grid Representation?

What is the need for ‘Conversion of data type’ in....

An extra grid is used before the physical boundary. What....

Chemical Engineering Basics - Part 1 more Online Exam Quiz

Cplusplus Programming Seq Con Vector Class 2

Cplusplus Programming Standard Template Library

Cplusplus Programming Static Constant Keyword

Cplusplus Programming Stl Algorithms

Cplusplus Programming Stl Container Any 1

Cplusplus Programming Stl Pair

Cplusplus Programming Stream

Cplusplus Programming String 1

Cplusplus Programming Templates

Cplusplus Programming Tuples 1