Answer:
A. A dangling modifier
Step-by-step explanation:
The grammatical error found in the above sentence is "a dangling modifier"
A dangling modifier is a word or phrase which modifies a word without stating it clearly.
In the above sentence, the modifier didn't clearly state what happened to the "hiker".
So, that keeps the reader "hanging" or "dangling".