A type cast should not be used to override a const or volatile declaration. Overriding these type modifiers can cause the program to fail to run correctly.
A type cast should not be used to turn a pointer to one type of structure or data type into another. In the rare events in which this action is beneficial, using a union to hold the values makes the programmer?s intentions clearer.
Type cast can be done when we want to convert the data in one type to another type
e.g:-in order to change the data from double data type to integer data type... But it is not used to convert integer data type to double data type.......