puts, fputs - put a string on a stream
#include <stdio.h>
puts() writes the string pointed to by s, followed by a new-line character, to the standard output stream stdout.
fputs() writes the null-terminated string pointed to by s to the named output stream .
Neither function writes the terminating NULL character.
On success both routines return the number of characters written; otherwise, they return EOF and set errno to indicate the error.
Refer to fputc().
write(), fclose(), ferror(), fopen(), fprintf(), fputc()
puts() appends a new-line character while fputs() does not.