When I saw him, he was standing by the window.
In terms of the use of prepositions, judge the next items.
When I saw him, he was standing by the window.

C
Certo

E
Errado