What is the issue with my code?

https://ide.codingblocks.com/s/202998 is there some case when two different type of brackets are present?

@tusharnitharwal
hello tushar,
in ur code u missed this type of cases ->

ch = ‘) ’ but stack top !=’(’ then also answer will be no.
similary for ] and }

this condition wont work for (())

yeah it will not . i am saying u missed to handle above cases.

if ur ch=’(’ then stack top has to be ‘)’ if it is something else then it will be unbalanced