+ 4

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

Please explain with example.

21st Nov 2019, 5:52 PM
Nitin Tadge
Nitin Tadge - avatar
1 Respuesta
+ 6
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. Example. int a = 5 , *x = &a, **y = &x In this example **y returns value of the variable a.
21st Nov 2019, 6:07 PM
Aishwarya Kshirsagar