C Pointers Question:

Download Job Interview Questions and Answers PDF

Explain void pointer?

C Pointers Interview Question
C Pointers Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
The operator used to get value at address stored in a pointer variable is

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