4 ms·
C++ casts are safer. I think you are confusing concepts here. There are C++-style casts that are compile-time errors that C would allow you to do in C style. F
by germandiago 4y ago
C++ casts are safer. I think you are confusing concepts here.
There are C++-style casts that are compile-time errors that C would allow you to do in C style. For C everything is potentially a reinterpret cast basically.
C++ casts are safer than C's.