Which of the following work with files

fsanf()

fprintf()

Both a and b

printf()