Answer :
Answer:
C
Explanation:
As the unit is defined as integer type i.e. unit will have whole number, mass is defined as float data type which will have fractional values, and weight is defined as double data type which can have both values i.e. fractional value or integer value.
If you multiply an integer value by a fractional/decimal value it will give fractional value (unit value will promote to fractions).
Thus, result will be fractional value so result of unit*mass will be double.