#include<stdio.h>
int main()
{
long double mwt = 3.0e-23;
printf(“%LF”,mwt);
return 0;
}
why o/p is
./seventeen
0.000000
root@linuxstation asgmt#
#include<stdio.h>
int main()
{
long double mwt = 3.0e-23;
printf(“%LF”,mwt);
return 0;
}
why o/p is
./seventeen
0.000000
root@linuxstation asgmt#
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.
as we don’t have any long supported for double data type on 32 bit compiler. Hence it will always shows an output as 0