Range of int and long datatypes

Posted by n00b8688 on Stack Overflow See other posts from Stack Overflow or by n00b8688
Published on 2010-04-26T04:16:47Z Indexed on 2010/04/26 4:23 UTC
Read the original article Hit count: 319

Filed under:
|

I learned the range of int and long on 32 bit windows is:

signed int: -32767 to 32767
signed long: -2147483647 to 2147483647

why does the int has same range as long type as mentioned here? http://msdn.microsoft.com/en-us/library/s3f49ktz%28VS.80%29.aspx

© Stack Overflow or respective owner

Related posts about datatypes

Related posts about range