Leading zeros of a binary number doesn’t get printed

With my mind reading powers I’m deducing that this will help you.

printf("%08x", number);

Leave a Comment