answersLogoWhite

0

What is an far pointer?

User Avatar

Anonymous

16y ago
Updated: 8/17/2019

In most modern computing environments, its just a pointer. If you're doing Win32 or similar, its just a keyword that means nothing.

In older environments, such as MS-DOS, as I recall, a far pointer specifies both the data segment and the offset, whereas a near pointer only stored the offset. In a sufficiently small program, everything was in the same segment and the additional overhead of storing the segment information as well was not necessary.

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

What does it mean by huge pointer is normalize give detail about far pointer huge pointer?

On far pointers the comparison operators(== and !=) check the 32 bit value. While >, =,


What is far pointer in c language?

its pointer created for high safety that cant be find by anyone.


Is Far pointer necessary to create a circular linked list?

It has to be a pointer all right.Regarding 'far' and 'near': forget it, simply use 'Large' data modell (or 'Huge').


What is far and near pointer and how are they used?

It is a matter of the memory model you are using. On old or embedded systems, some memory was outside of the range of a normal pointer. If you have 4 megs of ram you need at least a 22bit pointer to see all of it. But let's say you only have a 16 bit pointer. This means you can only access the first 65K of ram. Odd as it may sound, this was a problem on old computers, and is sometimes an issue on embedded devices with limited processing power. The near and far classifications were a solution. Pointers are near by default. In my example above, the 65K of ram would be accessed with a near pointer. To get past that 16 bit limit, you need a far pointer. Thus: memory within the pointer's range is near. Memory outside of the range is far. Near pointer: char near * ptr; Far pointer: char far * ptr;A far pointer uses both the segment and the offset address to point to a location in memory. A near pointer in contrast uses only the offset address and the default segment. The far pointer can point to any location in memory, whereas the near pointer can only point to a nearby local address.Something that was important 20 years ago. Now you can forget it.


How far can a 5mw laser pointer go?

10 ft


How far does a 1mW laser pointer go?

200 miles


When should a far pointer be used?

Never. 'near' and 'far' pointers are outdated by twenty years!


How far is a three pointer from the basket?

20 feet from the basketball rim.


How far is the three pointer from the basket in high school?

20 feet


How far is 3-pointer in college?

20 feet and 9 inches


How far is the 3 pointer line?

Around 18ft.


How do you change scrin coulor using far pointer in c ganguage?

brown