Question

Out of following program :<br> float x = 10.7;<br> int i;<br> <br> i = (int) x;<br> print i;<br>

  • Null
  • Error
  • 10 (Correct Answer)
  • Garbage value

Answer is "10"

2 Answer and explanations

You don't need to login to post your comment
50
Rashmi

how did the answer came

56
Archana

please anyone explain this answer

Post your answer

You don't need to login to post answer






Ask Question


Note: Options are optional, you can leave them blank