What are far pointers, near pointers, and huge pointers in the C programming language? What can they be used for? Thanks.
Near pointer is The pointer which cans points only 64 KB data segment or segment number 8 . That is near pointer cannot access beyond the data segment like graphics video memory, text video memory etc. Size of near pointer is 2 byte.
The far pointer is the pointer which can point or access whole the residence memory of RAMS i.e. which can access all 16 segments, Size of far pointer is 4 byte or 32 bit.
The pointer which can point or access whole the residence memory of RAM i.e. which can access all the 16 segments, Size of huge pointer is 4 byte or 32 bit.