Afficher un message
Vieux 22/02/2008, 16h20   #2
Victor Bazarov
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: x = 0; x += ++x + x++; x == 4?

Christian Johannes Charbula wrote:
> is this result defined by the standard?


No. The second statement contains the expression in which the rules
are broken. See the Standard, [expr]/4.

> I'm just in a small "fight" with some workmates on this topic. So an
> answer from more involved people could .


Never fight your workmates. It's detrimental to your career.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask


  Réponse avec citation
 
Page generated in 0,05359 seconds with 9 queries