contestada

Which sentence contains a misplaced or dangling modifier?   A. To turn off the security alarm, punch in the code.   B. We anchored the boat fearfully worrying about the impending storm.   C. Unexpectedly, a peal of rolling thunder woke me up.   D. The boy was very excited to be swimming with the dolphins.