+ 1
Pointers
How do you initiate a pointer that points to another pointer and of what relevance is it
1 Réponse
+ 1
To create an pointer pointing at a pointer you need two * instead of one:
int i; //integer
int *p = &i; //pointer to i
int **pp = &p; //pointer to p
Honestly I never used this feature and might be rarely useful, but in some cases you could need it.