int & long

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
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
Thank you I got it.
Topic archived. No new replies allowed.