Data Structures Question:

Download Job Interview Questions and Answers PDF

What is the difference between NULL AND VOID pointer in Data Structures?

Data Structures Interview Question
Data Structures Interview Question

Answer:

NULL can be value for pointer type variables.
VOID is a type identifier which has not size.
NULL and void are not same. Example: void* ptr = NULL;

Download Data Structures Interview Questions And Answers PDF

Previous QuestionNext Question
What is the difference between ARRAY and STACK in Data Structures?What is precision in Data Structures?