Double pointers

why do we need a double pointer to store the memory address of another pointer , we can just use another pointer for that , no? I mean what is the advantage of using a double pointer ?

hey Shubham, yes it is just a another pointer only which is pointing to a pointer variable. We are giving it a special name DOUBLE POINTER because it is pointing to pointer variable.

But we use 2 asterisks to define it , right ? why not only one asterisk , that would also work perfectly fine , right ?

Hey Shubham, Hope this will help.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.