Computer memory … large array of consecutive data cells or bytes
- 1 byte = 8 bits =
0x00 … 0xFF
char … 1 byte int,float … 4 bytes double … 8 bytes
INT_MAX = 0x7FFFFFFF = 2,147,483,647
INT_MIN = 0x80000000 ≝ -2,147,483,648
When a variable is declared, the operating system finds a place in
memory to store the appropriate number of bytes.
It is convenient to print memory addresses in Hexadecimal notation
|
|