Printf Hex As Decimal, %x will print hexadecimal in small letters and %X will print in capital letters.