C Near Pointer

  • Which pointer variable can handle only segment of 1MB data it is called near pointer.
  • Near pointer can handle only segment. i.e. data segment.
  • The size of the far pointer is 2B.
  • By using near pointer keyword we can create near pointers.
  • When we are increasing the near pointer values then it increase the offset address only.
  • When we are comparing the near pointers then it compares the offset address only.
  • By default any type of pointer will be near pointer only.
Powered by k2schools