Hello Andrew, Thanks for your suggestion, but no difference in output.
Question: Did you expect different output too? Thanks Quo ting Andrew Pinski <pins...@gmail.com>: > On Mon, Jul 20, 2009 at 8:30 AM, <i...@adari.net> wrote: > > Hello, > > > > Here is a program with output in gcc (4.3.2) on pre and post increments: > > Try using -Wsequence-point. With that option GCC produces: > t.c:6: warning: operation on 'a' may be undefined > (and many warnings of the same wording for every line afterwards). > > Thanks, > Andrew Pinski >