Path: utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!shadooby!samsung!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.std.c Subject: Re: Order of Evaluation Message-ID: <11646@smoke.BRL.MIL> Date: 19 Nov 89 01:13:10 GMT Article-I.D.: smoke.11646 References: <21265@usc.edu> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 10 In article <21265@usc.edu> gould@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.