Hi, I'd like to know when I have to use pointer to pointers. I mean, how do I know when to use a single pointer and a pointer to pointer.
Thanks...
Hi, I'd like to know when I have to use pointer to pointers. I mean, how do I know when to use a single pointer and a pointer to pointer.
Thanks...
One example is if you need to change the value of a pointer via a separate function, you'll need to pass a pointer to the pointer to your function.
If you understand what you're doing, you're not learning anything.
Techincally its not a reference in C, rather the address.
http://www.hermetic.ch/cfunlib/ast_amp.htm