Represents the data type pointed to by the pointer and pointerName is the name of the pointer to the pointer. int pp declare a pointer to an integer pointer H Initialization of a pointer to a pointer To initialize a pointer to a pointer you first need to have a pointer variable and then assign the address of the pointer variable to the pointer to the pointer.
For example c Copy code
Int a int p a p is a pointer to a int pp p pp is a pointer to p In this example pp is a pointer to p and p is a pointer to a. H Rich People Number Using pointers to pointers H Accessing and modifying values Through a pointer to a pointer you can indirectly access and modify the value of a variable. For example c Copy code int a int p a int pp p printfthe value.
The a is dn a output the value
Of a is printfthe value of a accessed through p is dn p output the value of a is printfthe value of a accessed through pp is Australia Phone Number dn pp output the value of a is pp modify the value of a printfthe new value of a is dn a output the new value of a is In this example pp means dereferencing twice and finally accessing the value.