Answers for "what's the difference between %f and %lf"

C
0

what's the difference between %f and %lf

%f is the format string for a float, the single precision floating-point type.

%lf is the format string for a double, the double precision floating-point type.
Posted by: Guest on March-25-2022

Code answers related to "what's the difference between %f and %lf"

Code answers related to "C"

Browse Popular Code Answers by Language