If a question gets closed, does any reputation earned on that question go away when the question goes away?
What is meta?
- Any Stack Exchange user can ask a question
- The community provides support, votes on ideas, and reports bugs
- Your voice helps shape the way Stack Exchange operates
No, you still earn reputation from closed questions.
However, if the question is then deleted, then the reputation will be lost, with some amendments provided in the answer to another question: Clarifying the criteria for when rep from deleted posts is maintained