0 votes
in C Plus Plus by
What is near, far, and huge pointers in C?

1 Answer

0 votes
by
  • Near Pointers: Near pointers are used to store 16-bit addresses only. Using the near pointer, we can not store the address with a size greater than 16 bits.
  • Far Pointers: A far pointer is a pointer of 32 bits size. However, information outside the computer’s memory from the current segment can also be accessed.
  • Huge Pointers: Huge pointer is typically considered a pointer of 32 bits size. But bits located outside or stored outside the segments can also be accessed.
...