Delete peek element in heap

code : https://ide.codingblocks.com/s/248793

it is showing segmentation fault?

hello @chaman9
check line no 40 , it should be == in place of =

yeaah, thanks a lot aman