Unnecessary parenthesis
News system
news at ism780c.isc.com
Thu Jul 14 11:38:01 AEST 1988
In article <5253 at ihlpf.ATT.COM> nevin1 at ihlpf.UUCP (00704a-Liber,N.J.) writes:
>Since 'return' can return an expression, parentheses are always allowed
>(but never required).
This is not quite right. A procedure may return a void expression. But
parantheses may NOT enclose a void experssion. Thus statement:
return ();
is malformed. This is the reason that I chose not to use redundant parens
on returned expressions.
Marv Rubinstein
More information about the Comp.lang.c
mailing list