Yes. A pointer p to type T can point to a single T , or to an array of T .
The things is a pointer contains the address, i.e. the value of a pointer variable is an address of memory. If you assign this to another pointer, then this address is assigned just like normal integer. However, pointing to a pointer (that is a pointer to pointer or **) is different from assigning a pointer to another.
In the Go programming language; how can pointers to pointers become useful?
(Why are they not illegal if they are not really useful?)
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