Quote:
Originally posted by Codeplug
All pointers have the same size, no matter what they point to. The size of a pointer will be the size of the address bus - on a 32bit machines, this is 32bits or 4 bytes - on a 64bit machines, this is 64bits or 8bytes.
These are all 4 on my 32bit system.
To be more precise, a pointer is of integral type (ie. a whole number), the size of which depends on the width of your address bus. The size of an "unsigned integer" on a 64bit machine is 4bytes, the size of a pointer is 8 bytes.
So, a pointer is the same no matter what it points to.
More