posted 15 years ago
1)
what is the output of the above program 1). how is the expression (x += EASY + ++x), evaluated?
also, hows the expression evaluated in program 2) as below, here which operator has more precedence in if(b1 & b2 | b3), & or |.
2)
iam generally very weak in operator precedence. other than the fact that, *,/,% has more priority than +/- other things are very confusing for me.
what about the priority of, +=, *=, /= , do they have more priority than all the other operators?