comma operator

Karl Heuer karl at haddock.ima.isc.com
Sat Aug 5 02:10:55 AEST 1989


In article <3287 at ohstpy.mps.ohio-state.edu> SMITHJ at ohstpy.mps.ohio-state.edu writes:
>Maybe I'm mistaken, but I'm sure that all the documentation I've read warns
>that the *comma* operator ----does not----- guarantee evaluation in any order.
>Specifically, the Microsoft 5.0 manual mentions this.

You're mistaken.  Probably you're thinking of the comma *punctuator*, e.g. the
thing used in function calls.  Function arguments can be (and are) evaluated
in an unspecified order, but this has nothing to do with the comma operator.

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



More information about the Comp.lang.c mailing list