What is the difference between near, far and huge pointers?

C Programming Language >   Pointer in C Language >   Near, Far and Huge Pointer  

Short Question

1510


Answer:

A virtual address is composed of the selector and offset.

near pointer doesn't have explicit selector whereas far, and huge pointers have explicit selector. When you perform pointer arithmetic on the far pointer, the selector is not modified, but in case of a huge pointer, it can be modified.

These are the non-standard keywords and implementation specific. These are irrelevant in a modern platform.


This Particular section is dedicated to Question & Answer only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.