Vidyalelo
C++ Programming · Q521

C++ miscellaneous

Programming · C++ Programming · question 521

Q521

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()); cout<<v.front();

A.
23
Answer
B.
1
C.
35
D.
90

Answer: Option A

Solution

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