Mega Code Archive
Categories
/
C Tutorial
/
Data Type
Type conversion
Type conversion occurs when the expression has data of mixed data types. In type conversion, the data type is promoted from lower to higher. The hierarchy of data types: double, float, long, int, short, char.