I have a simple program :
#include int main() { long i = 16843009; printf (\"%02x \\n\" ,i); }
I am using
Your string is wider than your format width of 2. So there's no padding to be done.