how to check precedency of operators using if condition???

Mar 19, 2013 at 6:05pm
how to check precedence of operators using if condition??? please help
Mar 19, 2013 at 6:08pm
If you aren't sure of the precedence of operators try using parentheses to group the values.
Mar 19, 2013 at 6:21pm
Mar 19, 2013 at 6:22pm
i want to check either the op1 has higher precedence than op2 or lower by using if condition..
op1='*';
op2='+';
is there any way to check them in if statement???such as
if(op1>op2) return 1;
Topic archived. No new replies allowed.