Sir, there is showing segmentation fault in my code

sir, please check and correct my code -> https://ide.codingblocks.com/s/467094

hello @chandreshmaurya

check now->

we dont know what all operand ,characters, operator can be in input.
so dont put explcit conditions for particular operator and operator.
only deal with ( and )

Thank you, now it’s clear.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.