for(;;) vs. while(1) is a draw
Blair P. Houghton
bph at buengc.BU.EDU
Sat May 26 03:48:49 AEST 1990
In article <1990May24.231054.22349 at mozart.amd.com> tim at amd.com (Tim Olson) writes:
>K&R *DID* say this -- read the reference manual section about the For
>statement (9.6):
>
> "Any or all of the expressions may be dropped. A missing
> expression-2 makes the implied while clause equivalent to
> while(1); ..."
Oops. My bad. So whose compiler was it that did this?
--Blair
"Grumble."
More information about the Comp.std.c
mailing list