Do you just like to talk out your ass or what? Nearly ever post of yours I've come across is full of gems like these.Originally Posted by mrafcho001
Typecasting is used to convert one type of an object to another. For example, if you have a floating point number, and you wan't to treat it as an integer, you may type cast it. The language itself has automatic type promotion for the basic types: char to short int to int to long int, float to double, and the like. Typecasting is used for when there are no such conversions and you need one.
Quzah.