When writing one character at a time to a file the following function is used:

Incorrect

fgets ( )

Incorrect

fputs ( )

Correct

put ( )

Incorrect

getc ( )