Question about regrouping of operands

Karl Heuer karl at haddock.ISC.COM
Wed May 18 05:20:47 AEST 1988


In article <881 at actnyc.UUCP> jsb at actnyc.UUCP (The Invisible Man) writes:
>In the absence of parens, X+Y+Z can be evaluated in any order, including
>(Z+X)+Y.

Where do you find this in the dpANS?  As I read it, X+Y+Z and (X+Y)+Z are
treated identically, and the latter must be evaluated as written.  (Modulo the
as-if rule.)

Karl W. Z. Heuer (ima!haddock!karl or karl at haddock.isc.com), The Walking Lint



More information about the Comp.std.c mailing list