Side Effects

Vox Populi ravim at gtenmc.UUCP
Thu Apr 11 11:28:36 AEST 1991


In article <1991Apr6.143523.10443 at grebyn.com> ckp at 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 at grebyn.com      \\ / /    

	-	Ravi Mandava

-- 
**********************   #include <stddisclaimer.h>  **************************
Ravi Mandava			e-mail :	ravim at gtenmc.gtetele.com
					  or    ravim at gtenmc.UUCP
*******************************************************************************



More information about the Comp.lang.c mailing list