|
|
|
|
To print out the actual address of a character, convert the pointer to char to pointer to const void |
To print out the actual address of a character, convert the pointer to char to pointer to const void* |
A prvalue of type “pointer to cv T ”, where T is an object type, can be converted to a prvalue of type “pointer to cv void ”. The result of converting a non-null pointer value of a pointer to object type to a “pointer to cv void ” represents the address of the same byte in memory as the original pointer value |