New answers tagged

5

A pointer is just a number on most processors. So it's held in the same kinds of memory, caches or registers as any other numbers. For example, if you have a processor with 16-bit memory addresses, then there are 65536 possible memory locations, numbered from 0 to 65535. So you can "point to" any location in memory simply by storing a number ...


Top 50 recent answers are included