Say I want to cast A* to char* and vice-versa, we have two choices (I mean, many of us think we\'ve two choices, because both seems to wor
A*
char*
You need reinterpret_cast to get a pointer with a hardcoded address (like here):
reinterpret_cast
int* pointer = reinterpret_cast( 0x1234 );
you might want to have such code to get to some memory-mapped device input-output port.