Order of Evaluation

Doug Gwyn gwyn at smoke.BRL.MIL
Sun Nov 19 12:13:10 AEST 1989


In article <21265 at usc.edu> gould at physics.usc.edu (Christopher M. Gould) writes:
> Why is the order of evaluation of subexpressions undefined?

Why should it be?

Allowing implementations flexibility in this regard can lead to more
efficient generated code.

If a programmer wants to ensure a particular sequence of calculation,
C provides sufficient tools to do so.  Use them.



More information about the Comp.std.c mailing list