printffprintfsprintfformatted output
#include <stdio.h>
printfchar *control...fprintfFILE *fpchar *control...sprintfchar *stringchar *control...Description
Thse three functions are used to place numbers and strings on
the output in formatted, human readable form.
Fprintf places its output on the file "fp", printf on the
standard output, and sprintf in the buffer pointed to by
"string". NOTE that it is the user's responsibility to ensure
that this buffer is large enough.
See Also
Kernighan & Ritchie pages 145-147.
putc(),
scanf()