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. -999
B. Error
C. 1000
D. -1000
Links:
float
Explicit Numeric Conversions