Actually i have taken form http://www.geeksforgeeks.org/archives/730 Please explain me o/p...as hex representated by 4 bits....then how cum is following o/p 00 00 80 3f 01 00 00 00 44 ff 28 00 01 00 00 00
total we have to represent 32 bits and 8 bits in each....plz xplain On Sun, Oct 21, 2012 at 12:05 AM, rahul sharma <rahul23111...@gmail.com>wrote: > void show_bytes(byte_pointer start, int len) > { > int i; > for (i = 0; i < len; i++) > printf(" %.2x", start[i]); > printf("\n"); > } > > > > byte_pointr is unsigned char *...typedef unsigned char * byte_pointer.... > plz tell me use of %.2x i knowx is for hexa........does it mean print 8 > bites of address in 4 hexa of 2 bits???i cant get xactly plz 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.