Sunday, 24 March 2013

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.

Example:


  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





0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More