[prog] c types confusion

Daniel. cristofd at hevanet.com
Wed Mar 24 07:56:20 EST 2004


>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.

Plus, short is guaranteed to be at least 16 bits--therefore so is 
int--and long is guaranteed to be at least 32 bits, correct?
-Daniel.
-- 
"It's a security measure designed to guard against customer satisfaction."


More information about the Programming mailing list