Socket Programming Question:

Download Job Interview Questions and Answers PDF

What is the difference between a NULL pointer and a void pointer?

Socket Programming Interview Question
Socket Programming Interview Question

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).

Download Socket Programming Interview Questions And Answers PDF

Previous QuestionNext Question
What are some advantages and disadvantages of Java Sockets?What is encapsulation technique?