Q&A
Ask and answer questions to make information more available to wider audiences.
Dante Acton @actondante   06, Apr 2023 12:00 AM
pointer on a pointer
What is a pointer on a pointer in C programming language?
answers 1
 
Answer 1
Dean Akridge @akridgedean   06, Apr 2023 04:43 PM
A pointer variable that contains the address of another pointer variable is called pointer on a pointer. This concept de-refers twice to point to the data held by a pointer variable.
int a = 5, *x=&a, **y=8x;
Here **y returns the value of the variable a.