printf c print double code example
Example 1: printf double
printf("%lf", number);
Example 2: print double in c
#include<stdio.h>
int main()
{
double d = 123.32445;
//using %f format specifier
printf("Value of d = %f\n",d);
//using %lf format specifier
printf("Value of d = %lf\n",d);
return 0;
}