Re: Same code and different result, Why?



"Lorry Astra" wrote:
Is this realated with compilor or CPU achitechure? Why?

In addition to Ulrich's answer.

"[39.15] Why do some people think x = ++y + y++ is bad?"
http://www.parashift.com/c++-faq-lite/misc-technical-issues.html#faq-39.15

HTH
Alex


.