S
Swakit
Guest
void main()
{
float j;
j= 1000*1000;
printf("%f",j);
}
this code prints 16960.0000
why?
i did not get reason for this
please explain
thnx
Right i am getting output as 16960.000 for j = 1000*1000
and 1000000.0000 for j = 1000.0*1000.0
but what is the reason behind this i am using turbo c borland 4.0 compiler
{
float j;
j= 1000*1000;
printf("%f",j);
}
this code prints 16960.0000
why?
i did not get reason for this
please explain
thnx
Right i am getting output as 16960.000 for j = 1000*1000
and 1000000.0000 for j = 1000.0*1000.0
but what is the reason behind this i am using turbo c borland 4.0 compiler