O/p will not be 0. 1.000000 is the result which when read as %d takes the decimal value of <float 1.000000> stored in memory - it will not be 1.000000 or 0.
Since float is not stored as direct binary in memory as integer is stored, instead there's a separate procedure for storing float as binary in memory -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
