Data Structures Question: Download Data Structures PDF

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

Tweet Share WhatsApp

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 PDF Read All 48 Data Structures Questions
Previous QuestionNext Question
What is the difference between ARRAY and STACK in Data Structures?What is precision in Data Structures?