Difference between &(*similarObject) and similarObject? Are they not same?

Viewed 918

Can someone please explain this to me

dynamic_cast<SomeObject *>( &(*similarObject) );

What is the point of doing the address of a dereferenced pointer? Wouldn’t the pointer itself just be the address of it?

3 Answers
Related