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

Options

A : Returns the element closest to the median of a sequence

B : Returns the last element of the heap

C : Returns the first element of the heap

D : Returns the element closest to mean of a sequence

Click to view Correct Answer

Previous || Next

Cplusplus Programming Stl Heap more questions

What is the use of apply() function in Valarray?

Which of the following is correct about the shift?

Each call of va_arg _______

void free(void *p) performs which of the following functions?

What is the use of rank() function in C++?

What is the use of is_heap_until() function?

What is the use of accumulate function in a numeric....

Which of the following is correct about tuple_size?

Which of the following is correct about none() function in....

Which of the following is correct about any() function in....

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