Duplicate:
I have a question about C and pointers.
I know when I would need a pointer, and even when I might need a pointer to a pointer. An example would be if I had a linked list, and I wanted to write a function that would remove an element of that list, to do so I would need to send a pointer to the pointer of the head of the list.
How about a pointer to a pointer to a pointer? Would there ever be a situation where that would be needed? Extra points if you have some sample code so I can really get my head around it.