printfwill print a string "hello"because &- this is the operator addressOfthat will return the address of the pointer, followed by it, and *- this is the operator valueOfthat will return the value stored in the address of the pointer, followed by it.
So essentially the expression *&*&pwill read
valueOf(addressOf(valueOf(addressOf(p))))
which will return a string "hello"that is stored in the actual location.
Hope this helps you!
source
share