A cast is simply telling the compiler what kind of object the programmer THINKS the pointer is referencing. Anything else is dependent on how you use the cast variable.
A cast is simply telling the compiler what kind of object the programmer THINKS the pointer is referencing. Anything else is dependent on how you use the cast variable.