c++ - what is the meaning of **ptr in c -


this question has answer here:

i know *ptr pointer variable called ptr

does **ptr mean pointer pointer?

if true, meaning of pointer pointer?

any pointers (pun intended) appreciated.

it depends on context.

in declaration, x **ptr declares object pointer pointer x.

outside of declaration, **ptr dereferences both pointers, yielding value.

remember pointer object holds address of object. pointer pointer that: object holds address of object, happens pointer.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -