What Is Huge Pointer

 Huge Pointer

The Pointer which can pointer total 16 segment of memory is called Huge pointer.
the size of the huge pointer is 4bytes ie 32 bits.


  1. void main()
  2. {
  3.   int*p;
  4.   int near *np;
  5.   int far *fp;
  6.   int huge *hp;
  7.   printf("\n %d %d %d %d ", sizeof(p),sizeof(np),sizeof(fp),sizeof(hp));
  8. }

Output:- 2 2 4 4


Post a Comment

Don't Forget to comment

About Me

My photo

HI i am mohammed  a Embedded Software Developer ,SEO specialist,Electronic engineer   Read more