Home > Back-end >  Why isn't 0 x44 use % # x
Why isn't 0 x44 use % # x

Time:10-19

Corresponding % # 0 x3 why is 0 x44 corresponding % x x

CodePudding user response:

% x is according to the byte alignment to output hexadecimal (that is, the output is necessarily the even number), 1 byte has eight, 0 x44 is 0100, 0100, just eight
And a byte 0 x3 discontent (odd number), if use % x, becomes 0 x03 (0000 0011) gather full one byte, so want to use % # x, a representative # 1 number
  • Related