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

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -