[prev] 88 [next]

Memory

Computer memory … large array of consecutive data cells or bytes
  • 1 byte = 8 bits = 0x000xFF
  • char … 1 byte    int,float … 4 bytes    double … 8 bytes
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

[Diagram:Pic/memoryAddresses.png]