Write a C Program to show an example of pointer to pointer

By | March 19, 2017

C Program to understand pointer to pointer


Write a C Program to understand pointer to pointer. Here’s a Simple Program which shows an example to understand pointer to pointer in C Programming Language.


Pointer to Pointer :


  • A pointer to a pointer is a form of multiple indirection, or a chain of pointers. Normally, a pointer contains the address of a variable.
  • When we define a pointer to a pointer, the first pointer contains the address of the second pointer, which points to the location that contains the actual value
  • When a target value is indirectly pointed to by a pointer to a pointer, accessing that value requires that the asterisk operator be applied twice.
  • The declaration of a pointer-to-pointer looks like :
  • int **ipp;
  • where the two asterisks indicate that two levels of pointers are involved.

Below is the source code for C Program to show an example of pointer to pointer which is successfully compiled and run on Windows System to produce desired output as shown below :


SOURCE CODE : :



OUTPUT : :



If you found any error or any queries related to the above program or any questions or reviews , you wanna to ask from us ,you may Contact Us through our contact Page or you can also comment below in the comment section.We will try our best to reach upto you in the short interval.


Thanks for reading the post.

Leave a Reply