"Srinivas Vangara \(svangara\)" <svangara@xxxxxxxxx> writes: > Is the statement: > > a[i]=a[i++]; a valid statement as per ANSI C standards or the behaviour > is undefined and the implementation is compiler dependent? It's undefined. See the documentation on -Wsequence-point. -- Falk