If I am citing a quote that a character said from a piece of literature and it ends in a question mark, do I put the question mark in the quotation marks?

.....?'"(Dahl).

or

......'"(Dahl)?

Redirected from "Which following pairs of atoms, have a lower electron affinity? a) Ca,K b) I,F c) Li, Ra. I seriously don't know anything about electron affinity all ik that it can buy another element"