When and why to use multiple indirection ?
I'm new to C programming and I'm reading a book about C data structures to get more expertise with the language. I'm a Java Programmer and I really can't figure out why multiple indirection is used :(
Such the linked list example below.:
Why "data" is a pointer to pointer ? Wouldn't be a normal pointer *data enough ? Since a pointer is a reference to an address ...
int list_rem_next(List *list, ListElmt *element, void **data);
Thank you very much