Article View: comp.std.c
Article #3696Re: Parenthesis with return ?
From: John Woods
Date: Thu, 10 Aug 1995 15:24
Date: Thu, 10 Aug 1995 15:24
17 lines
1345 bytes
1345 bytes
msb@sq.com (Mark Brader) writes: >> > > ``sizeof( int )'', what you are really looking at is ``sizeof CAST'', >> > > not ``sizeof( TYPE )''. >> > In other words, the argument to sizeof is either "unary-expression" or >> > "( type-name )". >> "( type-name )" sure looks a lot like a cast to me >Well, yes. And the unary address operator looks like the bitwise "and" >operator. So what? >One of the advantages of having a standard is that we can all learn to >use the same terminology, and avoid misunderstandings. Please do that. I had been trying to emphasize that the parentheses didn't make sizeof a function-like operator, but didn't have the Standard handy to use the right terminology; quite unfortunate, too, since it would have been much clearer to simply point out that it is a prefix unary operator and post the syntax to start with.
Technical Details
Message-ID:
<DD3pG4.5xG@proteon.com>Path:
arc1-ca.pugleaf.net!monk.proteon.com!jfwReferences:
<405fhs$iin@boson.epita.fr> <DCy9uG.CEr@proteon.com> <DCz7qw.HvM@stdc.demon.co.uk> <6495221.12652.4448@kcbbs.gen.nz> <1995Aug10.045307.27960@sq.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c Path: arc1-ca.pugleaf.net!monk.proteon.com!jfw From: jfw@proteon.com (John Woods) Subject: Re: Parenthesis with return ? Message-ID: <DD3pG4.5xG@proteon.com> Sender: news@proteon.com Nntp-Posting-Host: kerplop.proteon.com Organization: Proteon, Inc., Westborough, Ma. References: <405fhs$iin@boson.epita.fr> <DCy9uG.CEr@proteon.com> <DCz7qw.HvM@stdc.demon.co.uk> <6495221.12652.4448@kcbbs.gen.nz> <1995Aug10.045307.27960@sq.com> Date: Thu, 10 Aug 1995 15:24:03 GMT