I think the answer is B. Because there is a period before the sentence: "The cookies were not eaten by the children" choice B contains the misplaced modifier. Unless that was a typo.
Hope this helps!:)
The bear was very hungry. Hope that helps.
A company plans to make space flights available to those who can afford the ticket price.