C-DOT interview question

Difference between void pointer and NULL pointer and application of void pointer

Interview Answer

Anonymous

Mar 1, 2019

Conceptually, when a pointer has that null value it is not pointing anywhere. Void pointer is a specific pointer type - void * - a pointer that points to some data location in storage, which doesn't have any specific type. So, once again, null pointer is a value, while void pointer is a type.