in reply to Using (s)printf()
printf(*quot;%+d", 7); # prints '+7' [download]
should be:
printf("%+d", 7); # prints '+7' [download]