Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!oberon!sdcrdcf!ism780c!news From: news@ism780c.isc.com (News system) Newsgroups: comp.lang.c Subject: Re: Unnecessary parenthesis Message-ID: <11925@ism780c.isc.com> Date: 14 Jul 88 01:38:01 GMT References: <326@marob.MASA.COM> <2550075@hpisod2.HP.COM> <5253@ihlpf.ATT.COM> Reply-To: marv@ism780.UUCP (Marvin Rubenstein) Organization: Interactive Systems Corp., Santa Monica CA Lines: 13 In article <5253@ihlpf.ATT.COM> nevin1@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