How do you exactly use the operator ** (pointer to a pointer)?
I saw these operator used to declare a variable and is declared by a structure such as
struct name_of_struct **p_strutture;
What does it do exactly? What is the variable created?
How is this equivalent to *ptr[]?
What is its significance?
When is using a pointer to a pointer important in a program?
A pointer to a pointer basically stores the address of another pointer. A variable has a memory location and a pointer variable is used to store this address. Similarly a pointer variable has a memory address and a pointer to a pointer stores such a memory address
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With