Answers

Question and Answer:

  Home  C Pointers

⟩ Explain void pointer?

A void pointer is a C convention for "a raw address." The compiler has no idea what type of object a void pointer "really points to." If you write

int *ip;

ip points to an int. If you write

void *p;

p doesn't point to a void!

 318 views

More Questions for you: