C Pointers Question:

Explain void pointer?

Tweet Share WhatsApp

Answer:

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!

Download C Pointers PDF Read All 31 C Pointers Questions
Previous QuestionNext Question
The operator used to get value at address stored in a pointer variable is

A. *
B. &
C. &&
D. ||
Explain null pointer?