On Mon, Jul 11, 2011 at 5:54 PM, Piyush Kapoor <[email protected]> wrote:
> Can anybody give a full explanation > > http://ideone.com/K1QmV > On Sat, Jul 9, 2011 at 10:49 PM, sunny agrawal <[email protected]>wrote: > >> try to find out the binary representation of float value 5.2 >> >> >> On Sat, Jul 9, 2011 at 10:46 PM, Sangeeta <[email protected]>wrote: >> >>> int main(){ >>> int i; >>> float a=5.2; >>> char *ptr; >>> ptr=(char *)&a; >>> for(i=0;i<=3;i++) >>> printf("%d ",*ptr++); >>> } >>> >>> output: >>> 102 102 -90 64.explain? >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Algorithm Geeks" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/algogeeks?hl=en. >>> >>> >> >> >> -- >> Sunny Aggrawal >> B-Tech IV year,CSI >> Indian Institute Of Technology,Roorkee >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> > > > > -- > *Regards,* > *Piyush Kapoor,* > *CSE-IT-BHU* > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
