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. Note, this case type may be unsafe and to use it effectively, the sizes of the casted value and the casted type should match. ................
................