int & long

Jun 23, 2013 at 3:43pm
1
2
3
4
5
6
7
8
9
10
int	
        Integer.	4bytes	
        signed: -2147483648 to 2147483647
        unsigned: 0 to 4294967295


long int (long)
	Long integer.	4bytes	
        signed: -2147483648 to 2147483647
        unsigned: 0 to 4294967295


I Don't see any difference.
Last edited on Jun 23, 2013 at 3:44pm
Jun 23, 2013 at 4:08pm
The exact size of int and long depends on the compiler. The size of long is always at least as big as the size of int.
Last edited on Jun 23, 2013 at 4:08pm
Jun 24, 2013 at 4:40pm
Thank you I got it.
Topic archived. No new replies allowed.