The Properties of Computer Memory
Learn about the architecture of a processor and computer memory.
We'll cover the following
Accessing memory
C++ treats memory as a sequence of cells. The size of each cell is 1 byte, and each cell has an address. Accessing a byte in memory by its address is a constant-time operation,
The following figure shows a sequence of memory cells laid out in memory. Each cell contains 8 bits. The hexadecimal numbers are the addresses of the memory cells:
Get hands-on with 1400+ tech skills courses.