S
Suresh V
I did a small analysis of getting size of each of these data types
Types 16-bit 32-bit 64-bit
int 2 4 4
long int 4 4 8
long double 10 12 16
Numbers are in bytes.
how the size of an integer is decided?
Is it based on processor or compiler or OS? If so why can't it be
constant across all platforms
Please clear my doubt.
+suresh
Types 16-bit 32-bit 64-bit
int 2 4 4
long int 4 4 8
long double 10 12 16
Numbers are in bytes.
how the size of an integer is decided?
Is it based on processor or compiler or OS? If so why can't it be
constant across all platforms
Please clear my doubt.
+suresh