When quoting someone asking a question, do you put the question mark inside or outside the quotation marks?

In American English, when quoting someone asking a question, the question mark is placed inside the quotation marks. For example:

She asked, "Where are you going?"

However, in British English, the question mark is usually placed outside the quotation marks. For example:

She asked, "Where are you going"?

It's important to note that this rule can vary depending on the style guide or formatting guidelines you are following. When in doubt, it is always best to consult the specific guidelines or refer to the preferences of the organization or publication you are writing for.