The format can contain either numbered argument conversion specifications (that is, "%n$" and "*m$"), or unnumbered argument conversion specifications (that is, % and * ), but not both. The only exception to this is that %% can be mixed with the "%n$"
form. The results of mixing numbered and unnumbered argument specifications in a format string are undefined.
When numbered argument specifications are used, specifying the Nth argument requires that all the leading arguments, from the first to the
(N-1)th, are specified in the format string.
Partager