Computer Science, asked by yashvi5527, 1 year ago

What is the difference between an integer constant and a float constant.

Answers

Answered by mehek2440
2

Answer:

Integers and floats are two different kinds of numerical data. An integer (more commonly called an int) is a number without a decimal point. A float is a floating-point number, which means it is a number that has a decimal place. Floats are used when more precision is needed.

Similar questions