Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!bentley!kwh From: kwh@bentley.UUCP (KW Heuer) Newsgroups: net.lang.c Subject: Re: What's wrong with printf( ) , return ? Message-ID: <847@bentley.UUCP> Date: Thu, 22-May-86 18:41:33 EDT Article-I.D.: bentley.847 Posted: Thu May 22 18:41:33 1986 Date-Received: Sun, 25-May-86 13:07:34 EDT References: <123@danews.UUCP> Organization: AT&T Bell Laboratories, Liberty Corner Lines: 11 In article <123@danews.UUCP> danews!lvc writes: >I knew that return wasn't an expression. The fact that you can >do `control flow' with , seperating expressions makes me wonder >why this wasn't extended to include 'some' statements such as return. It makes about as much sense as "printf() + return". Comma in this context is an *operator*. A more serious argument would be to allow the statement "return ((void)printf())", which would make sense if "void" were a real datatype. Karl W. Z. Heuer (ihnp4!bentley!kwh), The Walking Lint