From: utzoo!decvax!harpo!npoiv!hou5f!hou5b!hou5c!hou5e!hou5a!hou5d!houxz!ihnp4!ixn5c!inuxc!pur-ee!uiucdcs!mcewan
Newsgroups: net.lang.c
Title: Re: Re: order of evaluation parse date s - (nf)
Article-I.D.: uiucdcs.1579
Posted: Sat Feb 26 22:29:05 1983
Received: Tue Mar  8 06:07:41 1983

#R:houxj:-22000:uiucdcs:27600008:000:271
uiucdcs!mcewan    Feb 26 21:47:00 1983

    i = 4;
    i = i++;
    printf ("%d\n", i);

----------

Clearly, the value of "i++" is 4. However, c does not specify whether the
increment or the assignment is done first, so the value of i after this
statment is UNDEFINED, or, if you prefer, "compiler dependent".