0
C: Printing float using printf
Posted by Joys of Programming on in C/C++
float in C is used to represent floating point numbers. It’s declaration is as simple as The following program shows how to print a float. Let’s check the output The output is upto a precision of 6 digits after the decimal point. This is a behavior by default which can be changed