return expr and Decus-C

Alan S. Driscoll alan at allegra.UUCP
Mon May 14 23:59:04 AEST 1984


[]

>From: chris at umcp-cs.UUCP
>Newsgroups: net.lang.c
>Subject: Re: return expr and Decus-C
>Posted: Sun May 13 21:47:44 1984

>Who says ``while (expr) statement;'' looks like a function call?
>If it were a function call, the statement part would be a syntax
>error.

You are forgetting that the body of a while statement may be empty.
-- 

	Alan S. Driscoll
	AT&T Bell Laboratories



More information about the Comp.lang.c mailing list