Which operator is used to compare the elements in heap?
(a) >>
(b) comp
(c) <
(d) Both comp &<
I had been asked this question by my school principal while I was bunking the class.
The query is from Heaps in chapter Algorithms, Objects & Iterators in C++ of C++