type cast

In type casting, a data type is converted into another data type by a programmer using casting operator. Whereas in type conversion, a data type is converted into another data type by a compiler. 
Type casting can be applied to compatible data types as well as incompatible data types.