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!
int *ip;
ip points to an int. If you write
void *p;
p doesn't point to a void!
Previous Question | Next Question |
The operator used to get value at address stored in a pointer variable is A. * B. & C. && D. || | Explain null pointer? |