Type of expression sizeof(x)
Henry Spencer
henry at utzoo.uucp
Sat Sep 23 05:53:57 AEST 1989
In article <145 at bbxsda.UUCP> scott at bbxsda.UUCP (Scott Amspoker) writes:
>Somewhere along the way sizeof() became unsigned...
>I hope the ANSI draft doesn't leave this as "implementation dependent".
>Some idiot implementor somewhere will make sizeof() return float.
The Holy Writ (Oct 88 draft) says that the type of sizeof is an unsigned
integral type.
--
"Where is D.D. Harriman now, | Henry Spencer at U of Toronto Zoology
when we really *need* him?" | uunet!attcan!utzoo!henry henry at zoo.toronto.edu
More information about the Comp.unix.ultrix
mailing list