Finally, note that printf
statements can contain more than one print
specification. Generally, print specifications are interspersed among
ordinary characters in the character string. The character string acts as
a template into which expression values are inserted at places marked by
print specifications.
The following, for example, contains both an instance of %i
and an
instance of %f
:
printf ("The average of the