2 ms·
No. C++ does allow types to change. That's exactly what casts are for.
by neverartful 3y ago
No. C++ does allow types to change. That's exactly what casts are for.
- zabzonk 3y agono. c++ allows you to convert a value of one type into a value of another type (in a very limited number of cases) but you cannot change the type of an object.