Pointer to Pointer:
- It is also called “double pointer”
- A “Pointer to Pointer” variable holds the address of another “Pointer variable”
#include<stdio.h> int main() { int x = 10; int* px = &x; int** ppx = &px; printf(“x val : %d \n”, x); printf(“x val : %d \n”, *px); printf(“x val : %d \n”, **px); return 0; } |
