hello all
im wondering, when i use this code in windows over codeblocks:
long double ld=6;
scanf("%Lf",&ld);
printf("%f",ld); //// see, %f
the entered value returns correctly. when i use incorrect format, i must use %Lf in printf.
when i do not use the scanf function, i must use %Lf format.
any one knows what is happening?