parens on sizeof

Norman Diamond ndiamond at watdaisy.UUCP
Fri Mar 22 05:09:58 AEST 1985


> The empty string is an expression.  Therefore "sizeof (int)" is the
> empty expression cast to type "integer" and an expression.  Therefore
> "sizeof (int)" is of the form sizeof <expression> .

sizeof (int) ""     would be     sizeof <expression>

Whitespace is not equivalent to the empty string.  I'd sure hate for
a = *b;    to be interpreted as     a = ""*b;

-- 

   Norman Diamond

UUCP:  {decvax|utzoo|ihnp4|allegra}!watmath!watdaisy!ndiamond
CSNET: ndiamond%watdaisy at waterloo.csnet
ARPA:  ndiamond%watdaisy%waterloo.csnet at csnet-relay.arpa

"Opinions are those of the keyboard, and do not reflect on me or higher-ups."



More information about the Comp.lang.c mailing list