Mixed mode arithmetic

The arithmetic operation involving both integer and floating point numbers is called mixed mode arithmetic. When each operand is of a different data type, the resulting value is of the more general type, and float is the more general type.

The following screenshot will make it clearer for you: