C-Filewrite File write sample in C When .exe file is run, a string is written to file and saved. Compiles with the GNU Compiler Collection (GCC) Compile: gcc -c file-io.c gcc file-io.o -o file-io Run: ./file-io