♦ Float in C
♣ Example2: Float in C
Fractional numbers are stored in Float data type.Also, there exists a range of Float which can be stored, which is explained in Data Types section.
In this example, various float point operations are given.
Example
Input:
Output: