Vidyalelo
C++ Programming · Q659

C++ miscellaneous

Programming · C++ Programming · question 659

Q659

What is the use of is_heap_until() function?

A.
Returns the iterator of the last element of the sequence always
B.
Returns the iterator to the position from where the sequence is a heap
C.
Returns the iterator of the position till that the sequence is a heap
Answer
D.
Returns the iterator of the first element of the sequence

Answer: Option C

Solution

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