[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Evaluation order, assignment order
- From: roberto@... (Roberto Ierusalimschy)
- Date: Thu, 22 Jun 2006 10:31:05 -0300
> In C99, you can.
>
> http://open-std.org/JTC1/SC22/WG14/www/docs/n1124.pdf
> says (in 6.5.2.2 and Annex C) that there is a "sequence point"
> only before a function call after all arguments have been evaluated.
Now that you mentioned that, I think this is true for C89 as well. The
book seems to be wrong. (Usually it is quite reliable.)
-- Roberto