What is a pointer on a pointer in C programming language?

Trainee Asked on November 5, 2019 in C Language.
Add Comment
1 Answer(s)

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=&x;

In this example **y returns value of the variable a.

Reviewer Answered on November 5, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.