It only means - If address in hexadecimal is less than 2 digits, it will
add extra padding 0's. If it's more than 2 digits it will simply print the
address as is.
i.e. suppose If address is *E* it will print: *0E* (padding an extra zero)
that's all.

On 21 October 2012 00:05, 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.
>

-- 
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.

Reply via email to