Question: what is the difference between int char float and double data types?
Answer: Source - What is the difference between: int, float, double, char? Basically int is an integer, a number that has no digits after the decimal point. ... float is a floating-point number, which is a number that can have digits after the decimal point. It can be positive or negative.