This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Pre and post increment


2009/7/20  <imap@adari.net>:
> Hello Andrew,
>
> Thanks for your suggestion, but no difference in output.
>
> Question: Did you expect different output too?

Not really. Although it may occur with different compiler versions or flags.

See http://en.wikipedia.org/wiki/Sequence_point and
http://c-faq.com/expr/seqpoints.html

And also: http://c-faq.com/ansi/undef.html

Cheers,

Manuel.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]