Min max stack what is the problem in my code

why giving segmentation fault ???

hello @hg11110000

check now->