delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/10/10:01:35

From: xfesenko AT pacific DOT net DOT sg (Victor)
Newsgroups: comp.os.msdos.djgpp
Subject: [Q] expression evaluation order
Date: Thu, 07 Aug 1997 17:15:11 GMT
Organization: Subscriber, Pacific Internet, Singapore
Lines: 10
Message-ID: <5sbb1h$kvr$1@newton.pacific.net.sg>
NNTP-Posting-Host: dyn126ppp227.pacific.net.sg
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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?

Regards.
Victor Fesenko

- Raw text -


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