[...] That
compiler was obviously
pre-ANSI or something.
K&R C allows . . .
There was enormous variation in C compilers. And there were lots of
programmers that thought that anything that worked for them was therefore
legit. For example, what would you expect from:
(and would you really expect it to behave the same on other compilers?)
N = 1;
A[N++] = N++;
When I taught C, I would always show the class a few examples of different
results from the same code in gcc, DeSmet, TurboC, . . .