A) Walking to school, the birds sang beautifully.
B) While walking to school, Maria heard the birds.
C) Maria, walking to school, heard the birds sing.
D) The birds sang as Maria walked to school.
Explanation
In A, "Walking to school" modifies "the birds" instead of the intended subject (a person). This is a dangling modifier.
Practice More English Questions