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.