What is a double datatype in C | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is a double datatype in C

What are alphanumeric datatype declarations called?

17th Dec 2019, 11:16 AM
Henri
Henri - avatar
2 Answers
+ 3
Double data type used to store the decimal numbers. Ex: double a=12.34567 In C, double is default type to store decimal format numbers.. There is no alphanumeric data type in C. If you want store, alphanumeric, you can use char array, like a string representation.
17th Dec 2019, 12:50 PM
Jayakrishna 🇮🇳
0
Double is for storing decimals like float but float takes upto 6 precision values but double takes upto 8 precision values.
18th Dec 2019, 12:45 PM
Samavedam Praneeth
Samavedam Praneeth - avatar