[prog] c types confusion
Kathryn Hogg
kjh at flyballdogs.com
Wed Mar 24 09:02:33 EST 2004
dominik.schramm at gmxpro.net said:
> Huh, why? Is that a typo/braino, or did you really mean
> 2^15?
> The size of signed int is 4 bytes, or 32 bits,
> and 2^32 / 2 == 2^31.
The size of an int isn't guaramteed to be any particular size only that
its at least as big as a short and no bigger than a long. Depending on
the architecture, it could easily be 16, 32, or 64 bits. But it is
actually 32 bits on most systems these days.
--
Kathryn
http://womensfootyusa.com
More information about the Programming
mailing list