what is the answer for the question how do you do?
The short answer is: yes, the answer to "How do you do?" is "How do you do?" It is also acceptable to reply "I'm fine, and you?" and similar variations. However -- and this is important to the etiquette side of things and not so much the language side -- "how do you do?" is actually not a question!