Vidyalelo
C++ Programming · Q792

C++ miscellaneous

Programming · C++ Programming · question 792

Q792

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

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
Answer
D.
Returns the element closest to mean of a sequence

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board