Compiler output
prog.cpp: In function 'int main()':
prog.cpp:26:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(c==')' && top=='(' || c==']' && top=='[' || c=='|' && top=='|' || c=='}' && top=='{'){
^
prog.cpp:26:67: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(c==')' && top=='(' || c==']' && top=='[' || c=='|' && top=='|' || c=='}' && top=='{'){
^
prog.cpp:26:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(c==')' && top=='(' || c==']' && top=='[' || c=='|' && top=='|' || c=='}' && top=='{'){
^