Specifier Description
d Displays an argument as a decimal number
b Displays an integer as a binary number
c Displays an integer as its ASCII equivalent
f Displays an integer as a floating-point number (double)
o Displays an integer as an octal number (base 8)
s Displays an argument as a string
x Display an integer as a lowercase hexadecimal number (base 16)
X Displays an integer as an uppercase hexadecimal number (base 16)