Interview Questions and Answers

How many bytes are occupied by near, far and huge pointers (DOS)?

A   near=2 far=4 huge=4

B   near=4 far=8 huge=8

C   near=2 far=4 huge=8

D   near=4 far=4 huge=8


Correct Option - A

Explaination

near=2far=4 and huge=4 pointers exist only under DOS. Under windows and Linux every pointers is 4 bytes long.

Report this question

Write Your Comments
!You need to be logged in to post comment

Share This Page -