Search Interview Questions
Question: What is the difference between a NULL pointer and a void pointer?
Answer: A NULL pointer is a pointer of any type whose value is zero. A void pointer is a pointer to an object of an unknown type, and is guaranteed to have enough bits to hold a pointer to any object. A void pointer is not guaranteed to have enough bits to point to a function (though in general practice it does).
|
|||||||||||
Question: What is the difference between a NULL pointer and a void pointer? Answer: A NULL pointer is a pointer of any type whose value is zero. A void pointer is a pointer to an object of an unknown type, and is guaranteed to have enough bits to hold a pointer to any object. A void pointer is not guaranteed to have enough bits to point to a function (though in general practice it does). Source: CoolInterview.com If you have the better answer, then send it to us. We will display your answer after the approval Rules to Post Answers in CoolInterview.com:-
|
Related Questions | ||
What are some advantages and disadvantages of Java Sockets? |
|
|
What does a socket consists of? |
|
|
What is the difference between TCP and UDP? |
|
|
Name the seven layers of the OSI Model and describe them briefly. |
|
|
What is multiprogramming? |
|
|
How does the race condition occur? |
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Socket Programing Interview Questions & Answers - Exam Mode / Learning Mode
India News Network |