%wx is similar to %wd but is used to output hexadecimal values. A grave accent (`) modifier is used to specify an upper case letter hexadecimal output.