pls point mistakes
Redundant parantheses
hello @Keshav99

here while checking for top.
u need to make sure that stack st is not empty .oterwise it will give segementation fault
but it is not giving segmentation fault . it is just not giving the correct answer