I am little bit confused about pointers and how many bytes they take up. In my textbook it first says that pointers on 16 bit systems take up 2 bytes, 32 bit systems 4 bytes, 64 bit system 8 bytes and so on. Then 10 lines after, it says that pointers take up that many bytes, that are needed to hold the addresses. Here are my questions :
- So does this mean that if we are lets say on 64 bit system, address will need at most 8 bytes?
- If we are on 16 bit system and pointers take 2 bytes, and address needs more the 2 bytes to be placed then what happens?