+ 3
What is the defference between "reinterpret_cast" and "static_cast"? What is the work "static_cast"?
5 Answers
+ 5
Must watch. This will give you better understanding.
https://youtu.be/pWZS1MtxI-A
+ 3
can you give me example ?
+ 3
A static_cast keeps the meaning and a reinterpret_cast keeps the bit layout in memory.
+ 2
Unlike static_cast but like const_cast, the reinterpret_cast  expression does not compile to any CPU instructions. It is purely a compiler directive which instructs the compiler to treat the sequence of bits
+ 2
by the way only difference in ur question is the spelling "difference"