This is worse than unspecified, it is undefined. The compiler can do anything including "make flying monkeys come out your butt."
The prioblem is that you are modifying 'a' twice between sequence points, which is a big no no.
This is worse than unspecified, it is undefined. The compiler can do anything including "make flying monkeys come out your butt."
The prioblem is that you are modifying 'a' twice between sequence points, which is a big no no.