return expr and Decus-C
Alan S. Driscoll
alan at allegra.UUCP
Sat May 12 06:34:22 AEST 1984
> From: gwyn at brl-vgr.ARPA (Doug Gwyn )
> Newsgroups: net.lang.c
> Subject: Re: return expr and Decus-C
> The examples
> while expr
> etc. are silly. They are not even legal C.
> return expr;
> is.
Of course the examples aren't legal C, but that's not the
point. The question is, if you are worried that
return (expr);
looks like a function call, why aren't you worried that
while (expr) stat;
also looks like a function call? (Remember that 'stat'
can be the null statement.) Aren't you being just a bit
inconsistent?
--
Alan S. Driscoll
AT&T Bell Laboratories
More information about the Comp.lang.c
mailing list