abalfazl hossein wrote:
"+" Include a sign (+ or -) with this argument
I don't think this flag"+" could print negative numbers as book said.Which flag can print negative sign?
Why not try it with a negative number and see what happens.
What do this mean: +-7?
The '+' does as detailed above, it appends a sign character to the number.
The '-7' means pad to 7 characters and left align, specifically '-' means left align but this is only meaningful if you specify a width to pad the number to (numbers are naturally right aligned), hence you get an exception if you use it without a width.