Question marks
Users expect direct questions and requests to end with a question mark. Indirect questions, commands and rhetorical questions can take other punctuation.
Question marks usually go after the last letter in a sentence
Like other punctuation marks, question marks stay with the text they refer to. Usually, this is immediately after the last letter of the last word of the sentence.
Brackets and quotation marks change the position of question marks
For brackets and quotation marks, place the question mark: