This question already has an answer here:
The other day I was answering to a question by a very long text, it take me a long time to do it because I have done some research, but anyway it was on an interesting subject, so it was worth it.
Some minutes after I had post my answer, I've seen that the question has been deleted by the user and my long answer too. I was a bit angry because I feel that I had lost my time... I personnaly want to contribute to stack overflow because when I try to answer a question I often learn something by doing research on it. I think it can be also usefull to retrieve some old answers we have posted to remember how we have resolve something.
According to me, our answers and the questions should be always visible in our account page, even if the user decided to delete them. Do you think it's possible ?
Is there a concrete reason to delete answers when a question is deleted ?