h and l modifier: h modifier is used to display a short integer and a l modifier is used to display a long integer in a printf () function. For Example: %hd is used to display a short int and %ld is used to display a long int.
* modifier: * modifier is used as a placeholder to match with an argument in an order in which they occur.
# modifier: It is used by preceding the g, G, f, E, or e specifiers with #. It is used to put a decimal point even when the number doesn’t have one.