Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Someone would not ask "are you not hot?" it sounds awkward but if someone did ask "are you not hot?" It would make sense to answer "yes I am cold" like you said. Or you could say "yes, because I am cold"