What is the difference between% f and% lf in C language printf

https://w‮ww‬.lautturi.com
What is the difference between% f and% lf in C language printf

%f is a single precision floating-point number
%lf is a double precision floating-point number

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main(int argc, char const *argv[]) {
    float num = 12345.45678901;
    printf("%f\n",num);
    printf("%lf\n",num);
    return 0;
}
Created Time:2017-08-28 15:27:32  Author:lautturi