I had scarcely entered the room ____ the guest arrived.
I had scarcely entered the room ____ the guest arrived.
Explanation
I had scarcely entered the room when the guest arrived.
جب مہمان آیا تو میں مشکل سے کمرے میں داخل ہوا تھا۔
When means "at or during the time that" (as conjunction)
When is used as a conjunction here "someone entered the room at or during the time that".