0
Please any one explain it......
Need of Double Pointer?
1 Answer
+ 2
Deepikađ
One of the reasons is when you want to change the value of the pointer passed to a function as an argument, so to do this you require to a pointer to your first pointer.. for example suppose you are writing a function in C to insert an element into a sorted linked list,, at a certain time you may need to insert the element before the head of the list itself, so we need the head which is a pointer to the first element to be changed, to do so you need a pointer to it..
its not only about function arguments, but itâs depend on the problem you are facing and what is the practical use case is !