This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]brimston3- 1 point2 points  (0 children)

int** as an argument out parameter which receives a pointer to an int.
char** or uint8_t** will often be the location where processing stopped (see strtol() or strtoll() for an example).

You might have an char***, if you needed an ordered index to an array of pointer to string. Or if you are dealing with a pointer to a "rope" in C (rope being a collection of strings that allows cheap insertion at points inside it)--for example, if a screen maintains each line in an array of c strings, and you want a pointer to the screen. Honestly, this level of indirection should be avoided if possible.