View Single Post
  #1 (permalink)  
Old February 11th, 2007, 11:25 PM
jnrico jnrico is offline
Registered User
 
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default What's the difference between an int and a long

Can someone please explain the real difference between an int and a long? I am reading Visual C++ 2005 by Ivor he describes both as 4 bytes in size and have a range of -2,147,483,648 to 2,147,483,647 I am referring thus to ISO/ANSI C++. Any help would be appreciated.

Reply With Quote