prog.c: In function ‘main’:
prog.c:7:11: error: format ‘%Lf’ expects argument of type ‘long double *’, but argument 2 has type ‘double *’ [-Werror=format=]
scanf("%Lf", &number);
^
prog.c: In function ‘cube’:
prog.c:15:36: error: format ‘%Lf’ expects argument of type ‘long double’, but argument 2 has type ‘double’ [-Werror=format=]
printf("Cube of this number is: %Lf", n * n * n);
^
cc1: all warnings being treated as errors