What is the use of double data type in c language | Sololearn: Learn to code for FREE!
0

What is the use of double data type in c language

What is the use of double data type in c language

19th Jan 2019, 9:44 AM
Asrar Khan
Asrar Khan - avatar
2 Answers
+ 7
Double data type in C Programming allows us to store value upto 10 digits after decimal. For Example, double var1 = 3.1415926536. The float data type also allows you to store decimal values but just upto 6 places. For Example, you can store a value in a floating-point variable upto 6 places after decimal. float var2 = 3.141593.
19th Jan 2019, 11:08 AM
Nova
Nova - avatar
0
Thank you
18th Aug 2021, 6:14 AM
B2A CLASSES
B2A CLASSES - avatar