0
What is the use of double data type in c language
What is the use of double data type in c language
2 Réponses
+ 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.
0
Thank you