I am writing a program to check if a C program taken as input has balanced parentheses, i.e., "()" and "{}" or not. e.g., #abc{}({()(x+y)})
#abc{}({()(x+y)})