Double Pointers

Get introduced to double pointers with the help of a simple example.

What is a double pointer?


A double pointer is a pointer that holds the address of a pointer variable.


Double pointer declaration

The basic syntax for declaring a double pointer is given below:

dataType **variableName;

Get hands-on with 1400+ tech skills courses.