1.

What Is The Difference Between Null And Void Pointer?

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;

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;



Discussion

No Comment Found