structured assembler (BASIC) [R
herndon at umn-cs.UUCP
herndon at umn-cs.UUCP
Sun Apr 13 17:30:00 AEST 1986
I disagree. Sizeof is definitely NOT a function. It is a builtin
of the C language, but it is not and could not be written as a function
(well...), just as return is definitely not a function. The rules for
sizeof are a little peculiar though -- as to when parentheses are required
and when they aren't. (For instance, though most people say
return(0);
the statement
return 0;
is just as legal.) Sizeof sometimes requires the parentheses.
Robert Herndon
More information about the Comp.lang.c
mailing list