On Wed, 2006-05-17 at 16:55 +1200, Derek Smithies wrote: > Let me explain. > > constructs such as > b[i] = i++; > > are indeed valid
This is a good way to shoot yourself in the foot. From memory a sequence point is not defined for the index, assignment, or increment operators in C (or C++) so the result of this operation is undefined. Michael.
