B=02 1 This is an octal value, and its hexadecimal value 10 is 17.
When outputting, %x outputs a, the form of %x is 16, and 16 of a is 0x 15, so 15 is output here.
%d outputs b, and the form of% d is 10, so 17 is output.