What is near, far and huge pointers? How many bytes are occupied by them?



What is near, far and huge pointers? How many bytes are occupied by them?..

Answer / Devendra Kumar Singh

Near pointers are used for addressing memory within the current segment (occupy 2 bytes). Far pointers are used to address memory across different segments (occupy 4 bytes). Huge pointers allow accessing memory beyond the first megabyte and occupy 6 bytes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

How do you flush std cout?

1 Answers  


What's c++ used for?

1 Answers  


What is a node class in c++?

1 Answers  


What is namespace & why it is used in c++?

1 Answers  


given unsigned int ui1=3,ui2=7; what are the outputs of a)ui1 & ui2 b)ui1 && ui2 c)ui1 | ui2 d)ui1 || ui2 i also need the justification for the answers thank you

2 Answers  


What does catch(…) mean?

1 Answers  


Differentiate between the message and method in c++?

1 Answers  


When can you tell that a memory leak will occur?

1 Answers  


Are php strings immutable?

1 Answers  


Difference between Top down and bottom up approaches for a given project ?

14 Answers   BSNL, CSC, HCL, HP, IIT, Infosys, Siemens,


How can I improve my c++ skills?

1 Answers  


Write syntax to define friend functions in C++.

1 Answers   HAL,


Categories