Mail Archives: djgpp/1997/08/07/15:43:01

From: Teemu Ikonen <cfikonte AT taltta DOT lpr DOT carel DOT fi>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: [Q] expression evaluation order
Date: Thu, 7 Aug 1997 15:38:07 +0300 (EST)
Organization: Carelcomp Forest Oy
Lines: 17
Message-ID: <>
References: <5sbb1h$kvr$1 AT newton DOT pacific DOT net DOT sg>
Mime-Version: 1.0
In-Reply-To: <5sbb1h$kvr$>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Thu, 7 Aug 1997, Victor wrote:

> Is it safe to assume that the expression 
> if(first_function()==OK && second_function()==OK &&
> third_function()==OK) return(OK);
> will be evaluated from left to right?

 Theoretically no, in practise it could work.

 Teemu Ikonen                _     /\/\/\/\/\/\/\/\/\/\/\/\       --  -- 
 tikonen AT niksula DOT cs DOT hut DOT fi  /o\___O \ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\    --\_o____O_ /_/_/\/\/\/\/\/\/\/\/\/_--__--_____--__

- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019