Suppose x=5 and y=2 then what will be cout<<(float) x/y

5 views

1 Answers

2.5 The integer x is converted to float hence the result.

5 views