lenelex.com
Home
Quizzes
Games
Register
Log in
Question 1 of 20
What will be the output of the following code?
float a = -999.999F; int b = (int)a;
A. Error
B. -1000
C. -999
D. 1000
Links:
float
Explicit Numeric Conversions