Skip to content

Glossary: C Basics

File modes

Also written: "r", "w", "a", append

The second argument of fopen: `"r"` reads, `"w"` writes (creating the file or emptying it) and `"a"` appends to the end.

Where the book teaches it

Related terms

fopen and fclose