Does the size of pointers vary in C? [duplicate]

Pointers are not always the same size on the same arch.

You can read more on the concept of “near”, “far” and “huge” pointers, just as an example of a case where pointer sizes differ…

http://en.wikipedia.org/wiki/Intel_Memory_Model#Pointer_sizes

Leave a Comment