why the floating point number initialising with f in postfix……….
e.g.
if we take two floating point number
f1 = 0.5f;
f2 = 0.3f;
and if we print, then two different result
if( f1 == 0.5f )
{
printf(“f1 = %f\n”,f1);
printf(“True”);
}
else
printf(“False”);
//case 2
if( f2 == 0.3f )
{
printf(“f2 = %f\n”,f2);
printf(“True”);
}
else
printf(“False”);
the above two if case give two different result…….
understand if no just wait for next ……