Asked by help please

what is the value of the variable int iNum= 2.02
A. 2
B. 2.0
C. 2.02
D. 0.0
E. error:possble loss of precision

please help and explain

Answers

Answered by Dave
int stands for integer, when given a decimal point within (supposed to be integer) number the program errors.
answer is e
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions