C
CBFalconer
Old said:Hardly, the latter causes undefined behaviour. Without an
intervening sequence point, p is both written, and read for
a purpose other than to determine the value to be written.
(That purpose is in fact to determine the location to write
another value).
p is NOT written. p->next is. That does not affect the value of
p. Well defined.