Data Structures Question:
What is the difference between NULL AND VOID pointer in Data Structures?
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;
VOID is a type identifier which has not size.
NULL and void are not same. Example: void* ptr = NULL;
Previous Question | Next Question |
What is the difference between ARRAY and STACK in Data Structures? | What is precision in Data Structures? |