Denotational Semantics and Language Standards
Perry Hutchison
perry at ccssrv.UUCP
Fri Nov 10 17:37:35 AEST 1989
In article <1989Nov9.151708.3617 at algor2.algorists.com>
jeffrey at algor2.algorists.com (Jeffrey Kegler) writes:
+ the result of
+
+ int f(int a, int b) { return a+b; }
+ ...
+ i = 2; i = f(i = 3, i);
+
+ is indeterminate. Variable i can be either 5 or 6, after this
It can also be 3. In fact, it is probably legal for i to have any value
whatsoever, or for the program to dump core.
More information about the Comp.std.c
mailing list