CodePudding user response:
This is not the news, is basically common senseThe size of the pointer types are the same, no matter what type of a pointer, 32-bit machine accounts for four bytes, a 64 - bit machine of 8 bytes
Pointer is used to save the memory address information, maximum support 32-bit machine memory is 4 G (2 ^ 32=4 * 2 ^ 10 * 10 * 2 ^ ^ 10 20=4 G), even if your memory again big, 32-bit machine also can use 4 G, with the length of the 4 bytes so save the memory address is sufficient (4 bytes is 32 bit, just can access to 4 gb of memory), 64 - bit machine support more than 4 G of memory, so 4 bytes enough storage memory address, upgraded to 8 bytes (8 bytes is 64, the maximum memory access to a 64 - bit machine)
CodePudding user response:
Where don't understand???????