op= operators

eich at uiucdcsb.UUCP eich at uiucdcsb.UUCP
Fri Oct 5 16:44:00 AEST 1984


Page 191 also says that in

	E1 op= E2

E1 is evaluated only once.  Page 187 discusses evalution of postfix ++:

	When postfix ++ is applied to an lvalue the result is the
	value of the object referred to by the lvalue.  After the
	result is noted, the object is incremented in the same manner
	as for the prefix ++ operator.

so the reference manual is quite clear: taken together, these
guarantees assure the expected interpretation.

Brendan Eich
uiucdcs!eich



More information about the Comp.lang.c mailing list