<-Prev
Range of int: It can store the value up to
Int:
This is used for the numerical data. Like 1, 2, 50, 1000, 2458, 9871, 12453
Range of int: It can store the value up to
-32768 to 32767 (for signed)
0 to 65535 (for unsigned)
Size: 2 bytes
Data type representation: %d
long int:
<-Prev
long int:
Range of long int: It can store the value up to
-2147483648 to 2147483647 (for signed)
0 to 4294967295 (for unsigned)
Size: 4 bytes
Data type representation: %ld
<-Prev
Đăng nhận xét