C – Floating Point

Home/C - Tutorial/C - Datatypes/C – Floating Point
C – Floating Point 2017-07-19T14:58:23+00:00

Floating Point :

Floating point numbers are numbers with a decimal point. The float type can take large floating point numbers with a small degree of precision (Precision is simply the number of decimal places to which a number can be calculated with accuracy. If a number can be calculated to three decimal places, it is said to have three significant digits.)

Memory size   : 4 bytes

Minimal range : IE-38 to IE+38 with six digit of precision

C – FLOATING POINT DATATYPE EXAMPLE PROGRAM :

Output :

Value of a = 3.140000

 

Prev Next