Wat does this mean *(*ptr)?

Recommended Answers

ptr is a pointer to a pointer to a variable. That expression dereferences twice to get the actual variable.

Jump to Post

All 4 Replies

It's how you dereference a pointer

It means pointer to a pointer.

It points to the address of address?

ptr is a pointer to a pointer to a variable. That expression dereferences twice to get the actual variable.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.