Difference between the int * i and int** i

Pointer to an integer value

int* i


Pointer to a pointer to an integer value

int** i

(Ie, in the second case you will require two dereferrences to access the integer’s value)

Leave a Comment