Originally posted by madhu kancharla:
YOU MEAN TO SAY X*=2+3; IS AN EXCEPTIONAL CASE FOR THE PRECEDENCE
This is not an exceptional case. All compound assignment operators work this way.
result = (left side) operator (right side)
BUT WHAT ABOUT IF YOU HAVE X=Y*2+3 IT MUST BE X=(Y*2)+3;OR X=Y*(2+3);?
Here you have the mathematical order.