User login

1 + 2 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

Which of the following function is used to write string to a file?

getc()

fputs()

fgets()

putc()