Wat does this mean *(*ptr)?

Recommended Answers

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.