top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Why there are three types of pointer in Turbo c compiler?

+2 votes
383 views
Why there are three types of pointer in Turbo c compiler?
posted Jun 15, 2015 by Mohammed Hussain

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

Turbo c compiler is based on Dos operating system which is based on 8085 microprocessors. In 8085 microprocessor actual physical address is represented in 20 bit. But there are not any pointers which can point 20 bit address. Considering simplicity of calculations, access to actual physical address, security etc. c has introduced three type of pointer i.e. near, far and huge pointer.

answer Jun 18, 2015 by Manikandan J
...