Pointer to Pointer
A pointer holding the address of another pointer (`int **pp`).
Intermediate
Used for arrays of strings (char **argv), 2-D dynamic arrays, and functions that must change a caller's pointer: void alloc(int **out) { *out = malloc(…); }.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.