Hardly (he had) entered (the office) when he realized (that he had) (forgotten) his wallet.
【正确答案】 A
【答案解析】hardly是否定词,放在句首时句子倒装。改“he had” 为“had he”。