Heap Insertion Implementation

I am not getting correct output for this code i dont see any mistake here??

hi @aryamaan1011

in unheapify() function heap vector should pass by reference
after that is will work

i hope this help
if you have more doubts regarding this feel free to ask
if your doubt is resolved mark it as resolved from your doubt section inside your course