Introduction to C++

A reinterpret_cast is used to cast one type to another. It is most commonly used to treat one pointer type as another pointer type, or to treat a pointer type as an integer type and vice versa. ................
................