Home / Questions / What is a pointer on pointer?
Explanatory Question

What is a pointer on pointer?

👁 853 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

It’s a pointer variable which can hold the address of another pointer variable. It de-refers twice to point to the data held by the designated pointer variable.

Eg: int x = 5, *p=&x, **q=&p;


Therefore ‘x’ can be accessed by **q.