0
What is the difference between int and float?
3 Answers
+ 2
int defines integers only
float can define both integer as well as decimals
+ 1
Integers doesn't represent numbers after decimal point as float does
0
Shyam that's wrong!
Float and Int are datatypes.
Where Int (integer) is a whole number like 5
and float is a floating point number like 5.0