Actually, I have no clue. But I think the answer is c) has written.
"Has written" is incorrect in that sentence, but it's not totally ungrammatical. It is "had writing" that is totally ungrammatical. Under no circumstances whatsoever can you say that someone had writing something. If a student selects "had writing" as the answer, then he or she can't speak English at all.
Perhaps you intended to type "had written," Ceedhanna.