how to print hex value in c code example
Example: how to print hexadecimal value in c
%d - to print value in integer format.
%o - to print value in octal format.
%x - to print value in hexadecimal format (letters will print in lowercase)
%X - to print value in hexadecimal format (letters will print in uppercase)