C Programming :: Declarations and Initializations - Discussion
17 / 54
The rule for implicit type conversion in 'C' is
Aint < unsigned < float < double
Bunsigned < int < float < double
Cint < unsigned < double < float
Dunsigned < int < double < float
Show Explanation
Generally takes place when in an expression more than one data type is present. In such condition type conversion (type promotion) takes place to avoid lose of data.
All the data types of the variables are upgraded to the data type of the variable with largest data type.
Asked In ::
Generally takes place when in an expression more than one data type is present. In such condition type conversion (type promotion) takes place to avoid lose of data.
All the data types of the variables are upgraded to the data type of the variable with largest data type.
Read Full Answer
Report Error
Please Login First Click Here