Answers for "display float value in c"

2

what is float in c

float: It is used to store decimal numbers (numbers with floating point value) with single precision. double: It is used to store decimal numbers (numbers with floating point value) with double precision.
Posted by: Guest on March-03-2021
0

print float in c

printf("%.6f", myFloat);
Posted by: Guest on November-24-2020

Browse Popular Code Answers by Language