I think it's B) because a missing modifier is when a sentence is broke apart incorrectly and I don't think that B) is correctly separated. I could rearrange the sentence and make it say, "The thunder frightened me as I slept peacefully" and it would sound better. I hope I helped a bit.
Idk इसका क्या अर्थ है कि मुझे खेद है कि मुझे मदद नहीं मिली
The greatest common factor of them all is six