Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!pilchuck!dataio!gtenmc!ravim From: ravim@gtenmc.UUCP (Vox Populi) Newsgroups: comp.lang.c Subject: Re: Side Effects Message-ID: <1117@gtenmc.UUCP> Date: 11 Apr 91 01:28:36 GMT References: <1991Apr5.163209.25118@mccc.edu> <1991Apr6.143523.10443@grebyn.com> Reply-To: ravim@gtenmc.UUCP (Ravi Kumar Mandava) Organization: GTE Telecom, Inc. Bothell, WA Lines: 22 In article <1991Apr6.143523.10443@grebyn.com> ckp@grebyn.com (Checkpoint Technologies) writes: ... >undefined in most cases (sequence is guaranteed for "," "&&", "||" but >for nothing else; and by "," I mean the comma operator, NOT the comma >separating function parameters) so good, correct compilers are free to >interpret as they choose. IMHO "?:" operator also guarantees a sequence point, correct if I am wrong. Just for nitpicking:- How about "," as a list separator in declarations (ex. int i = 0xff, j = i;) ? I believe this usage also results in sequence. >First comes the logo: C H E C K P O I N T T E C H N O L O G I E S / / > ckp@grebyn.com \\ / / - Ravi Mandava -- ********************** #include ************************** Ravi Mandava e-mail : ravim@gtenmc.gtetele.com or ravim@gtenmc.UUCP *******************************************************************************