Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Do I lose reputation if I am answering a downvoted question?
No. You only lose reputation for downvoting answer, or having your questions or answers downvoted. Answering questions is the core function in Stack Exchange, and you won't lose any reputation whether the question is downvoted or not.