View Single Post
Mentor
9May2009,03:34  
xpi0t0s's Avatar
> Solution for Problem 2 :
> Output is always 7 6.

Wrong. The output is UNDEFINED. Use of side effects twice in the same expression does not have a guaranteed result and is compiler dependent. For example in Visual Studio 2008, the output is 7 7.

I like the way you nitpick about the void main speck having missed this plank.