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.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Does English have a name for questions with counterintuitive answers?
"How do you do?" -> not "I am fine."
I would call these examples of "Idioms"; English is a language built on arcane phrases such as these which have hidden or implied meanings which are more or less derived from their continued use in a given context.