On Mon, Jul 11, 2011 at 5:54 PM, Piyush Kapoor <pkjee2...@gmail.com> wrote:
> Can anybody give a full explanation > > http://ideone.com/K1QmV > On Sat, Jul 9, 2011 at 10:49 PM, sunny agrawal <sunny816.i...@gmail.com>wrote: > >> try to find out the binary representation of float value 5.2 >> >> >> On Sat, Jul 9, 2011 at 10:46 PM, Sangeeta <sangeeta15...@gmail.com>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 algogeeks@googlegroups.com. >>> To unsubscribe from this group, send email to >>> algogeeks+unsubscr...@googlegroups.com. >>> 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 algogeeks@googlegroups.com. >> To unsubscribe from this group, send email to >> algogeeks+unsubscr...@googlegroups.com. >> 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 algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > 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 algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.