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

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

Correct

put ( )

Incorrect

fgets ( )

Incorrect

fputs ( )

Incorrect

getc ( )

Google Ads