in reply to Using (s)printf()

Under "Format Specifiers" I see "printf(*quot;%+d", 7);" -- it looks like that leading asterisk "*" should be an ampersand "&" so that the double quote character will be displayed instead of "*quot;"

Replies are listed 'Best First'.
Re^2: Using (s)printf()
by toolic (Bishop) on May 29, 2012 at 23:38 UTC
    printf(*quot;%+d", 7); # prints '+7'

    should be:

    printf("%+d", 7); # prints '+7'