Page 1 of 1

What is the type of the following assignment expression if x is of type float and y is of type int?

Posted: Wed Jul 13, 2022 7:54 pm
by answerhappygod
y = x + y;
a) int
b) float
c) there is no type for an assignment expression
d) double