Using .NET string formatting, you can include the same value in a format string several times:
Console.Write("{0}{0}{0}", 1) //prints "111"
Is there a way to do this using printf formatting, supplying the value only once?
No. Values are taken in order from the stack when passing the function. If you want multiple images of the same value to be in different parts of the string, you must arrange them several times.
: , , . , , .
, .