Double Data Type in C Programming

Double Data Type - double

Double-precision floating point numbers are also numbers with a decimal point. We know that the float type can take large floating point numbers with a small degree of precision but the double-precision double type can hold even larger numbers with a higher degree of precision.

The sizes of the double types are as follows.

TypeBytesMinimal range
doubleprecision8IE-38 to IE+38 with 10 digit of precision
long double8IE-38 to IE+38 with 10 digit of precision

Example:


Other fundamental data types are

Ready to get started?

Ready to embark on your journey into the world of C programming? Our comprehensive course provides the perfect starting point for learners of all levels. With engaging lessons, hands-on exercises, and expert guidance, you'll gain the skills and confidence needed to excel in this fundamental programming language. Let's dive in and unlock the endless possibilities of C programming together!