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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -