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

put ( )

f puts ( )

f get s ( )

put c ( ).