1 2 3 4 5 6 7 8 9
int main() { double x = 1.2; float y; y = x; // implicit downcast: double to float return y; // implicit downcast: float to int }