The result type of an arithmetic
expression, such as a + b,
where a and b are different arithmetic types,
is equal to the "larger" of the two operand types.
Arithmetic types are
char,
int and
real
(in that order). So if, e.g. a is of type
int
and b is of type
real,
the result of the expression a + b would be
real.