0

Why we r using double in const double in data type

constant double

20th Oct 2018, 10:32 AM
Sushmanth
Sushmanth - avatar
3 Answers
+ 2
Because you want to have a constant of type double within your program... ? const double PI = 3.1415;
20th Oct 2018, 11:46 AM
Hatsy Rei
Hatsy Rei - avatar
+ 1
20th Oct 2018, 12:44 PM
Hatsy Rei
Hatsy Rei - avatar
0
what it actually mean double is it a decimal or an character what is its role could u plz tell me
20th Oct 2018, 12:43 PM
Sushmanth
Sushmanth - avatar