When you create an integer variable, what does your computer actually do?
When you create an integer variable, what does your computer actually do?
The computer allocates a fixed number of bits for storing it.
Most modern computers use 32 or 64 bits, but some numbers are so big they don't fit even in 64 bits, like sextillion, which requires 70 digits in binary.