Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What is near, far, and huge pointers in C?
Home
C Plus Plus
What is near, far, and huge pointers in C?
0
votes
asked
Jan 12
in
C Plus Plus
by
GeorgeBell
What is near, far, and huge pointers in C?
c-interview-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 12
by
GeorgeBell
Near Pointers:
Near pointers are used to store 16-bit addresses only. Using the near pointer, we can not store the address with a size greater than 16 bits.
Far Pointers:
A far pointer is a pointer of 32 bits size. However, information outside the computer’s memory from the current segment can also be accessed.
Huge Pointers:
Huge pointer is typically considered a pointer of 32 bits size. But bits located outside or stored outside the segments can also be accessed.
Related questions
0
votes
Q: What is the difference between near, far and huge pointers?
asked
Jan 9
in
C Plus Plus
by
GeorgeBell
c-interview-questions-answers
0
votes
Q: What is a near pointer and a far pointer in C?
asked
Jan 6
in
C Plus Plus
by
GeorgeBell
c-interview-questions-answers
0
votes
Q: What are dangling pointers? How are dangling pointers different from memory leaks?
asked
Jan 6
in
C Plus Plus
by
GeorgeBell
c-interview-questions-answers
0
votes
Q: What are loops and how can we create an infinite loop in C?
asked
Jan 11
in
C Plus Plus
by
GeorgeBell
c-interview-questions-answers
0
votes
Q: What is the difference between the local and global variables in C?
asked
Jan 11
in
C Plus Plus
by
GeorgeBell
c-interview-questions-answers
0
votes
Q: What is the difference between ‘g’ and “g” in C?
asked
Jan 6
in
C Plus Plus
by
GeorgeBell
c-interview-questions-answers
0
votes
Q: What is an r-value and l-value in C Programming?
asked
Jan 6
in
C Plus Plus
by
GeorgeBell
c-interview-questions-answers
0
votes
Q: What is an auto keyword in C Programming?
asked
Jan 12
in
C Plus Plus
by
GeorgeBell
c-interview-questions-answers
0
votes
Q: How to convert a string to numbers in C?
asked
Jan 11
in
C Plus Plus
by
GeorgeBell
c-interview-questions-answers
0
votes
Q: What are preprocessor directives in C?
asked
Jan 11
in
C Plus Plus
by
GeorgeBell
c-interview-questions-answers
...