1.The character written
2.EOF if an error occurs
3.Nothing
4.Both character written & EOF if an error occurs
Answer:4