Skip to content

Glossary: C Basics

fprintf and fputs

Also written: fprintf, fputs

fprintf is printf aimed at a file or stream, and fputs writes a string as it is. printf is really fprintf(stdout, ...).

Where the book teaches it

Related terms

FILE *Standard streams