The printf function takes an argument type, such as %d or %i for a signed int. However, I don\'t see anything for a
printf
%d
%i
signed int
It depends, if you are referring to unsigned long the formatting character is "%lu". If you're referring to signed long the formatting character is "%ld".
"%lu"
"%ld"