Multi-choice problem: Is the next sentence syntactically and semantically acceptable?

She asked a man who was near the window whether it looked like rain.
Options: A). unacceptable; B). acceptable;
B).