Answer: "Did you bring anything for the volunteers to eat?" asked Jack.
Explanation: The question mark is part of the dialogue, not the narration, therefore it should be included inside the quotation marks, not outside. Placing the question mark at the very end as in the second option is not only absurd, but it also leaves the interrogative structure "Did you bring" without its necessary question mark.