On Jan 18, 2011, at 12:30 PM, Noury Bouraqadi wrote: > 5 is the surprising answer of the expression: > 6 + 4 / 2 > > It should be 8 > But, I got 5 in both 1.1 and 1.2.
Why? 6 + 4 is 10 and devided by 2 is 5.
(there is no operator precedence)
Marcus
--
Marcus Denker -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.
