The cow was grazing in the pasture.
The sentence that does not contain misplaced or dangling modifiers is <span> B.
Sitting in a chair, I looked at the clouds on the porch.</span>
It deals with the spiritual journey of self-discovery of a man named Siddhartha during the time of the Gautama Buddha.