Q755
What will be the output of the following C++ code? #include #include #include using namespace std; int main(int argc, char const *argv[]) vector v = 1,5,23,90,15,35; make_heap(v.begin(),v.end()); v.push_back(110); push_heap(v.begin(), v.end()); cout<<v.front();
A.
90
B.
1
C.
110
AnswerD.
23
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board