C Far Pointer

  • Which pointer variable can handle any segment of 1MB data it is called far pointer.
  • Far pointer can handle any segment from the range of 0x0 to 0XF but at a time only 1 segment.
  • The size of the far pointer is 4B.
  • By using far pointer keyword we can create far pointers.
  • When we are increasing the far pointer values then it increase the offset address only.
  • When we are comparing the far pointers then it compares segment add along with offset add also.
Powered by k2schools