Question:What will happen if you try to assign a float to an int without casting? 

A The value will be implicitly cast 

B A compilation error will occur 

C The value will be rounded to the nearest integer 

D The decimal part will be ignored 

+ Answer
+ Report
Total Preview: 18

Copyright © 2024. Powered by Intellect Software Ltd