0x000a is the hexadecimal representation of the decimal number 10. It's just a different way to write same number. "ten", "10", X (roman numeral), 1010 (binary), 12 (octal) are all different ways to represent the same concept of ten.
So what do you expect to print out? you defined 'd' to be a char type. that means it represent a character. If you look at the
ascii chart, you can see that 10 as a character is a line feed. In the old days, that would advance the paper one line. On a terminal, it moves the cursor down one line.
It IS printing...it is just not printing what you think it should.