printf fprintf sprintf formatted output #include <stdio.h> printf char *control ... fprintf FILE *fp char *control ... sprintf char *string char *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()