I know that int is a 4-byte datatype. Since it only takes up 4 bytes in memory, why does the compiler pre-allocate or initialize 8 bytes worth of memory?
I know that int is a 4-byte datatype. Since it only takes up 4 bytes in memory, why does the compiler pre-allocate or initialize 8 bytes worth of memory?