Type Casting causes the program to treat a variable of one type as though it contains data of another type. Normally, this is used with a collection of pointers (addresses) to specify how to interpret the data. When casting is not used with object pointers, it normally means to simply copy the data between incompatible types without converting the data or flagging an error. The figure lists some examples for type casting of operators.
Format: Type name (Expression);


