Ex18 printf use of colon

@zedshaw
Why do we print it like this and not without the colon?
I figured we use : as a separator, so it’s just for style?
printf("%02x:", data[i]);

I think that’s about it. It’s just to have a separator between each hex.

1 Like