Which of the following work with files

fprintf()

printf()

Both a and b

fsanf()