Questions & Answers about Der Postbote lachte, als ich ihm gestern versehentlich die falsche Hausnummer nannte.
The verb nennen takes two objects:
• a dative object for the person receiving the information (jemandem)
• an accusative object for the thing being named (etwas)
So ihm (to him) is dative, and die falsche Hausnummer is the accusative object.
In written or narrative German, many common verbs—including lachen and nennen—often appear in the Präteritum. In spoken German you’d more likely hear the present perfect:
Der Postbote hat gelacht, als ich ihm … genannt habe.
German typically follows the Time–Manner–Place order for adverbs.
• gestern = time
• versehentlich = manner
So gestern versehentlich is correct (time before manner).
Yes. In everyday spoken German you’d probably say:
Der Postbote hat gelacht, als ich ihm gestern versehentlich die falsche Hausnummer genannt habe.
But in written or storytelling contexts, the Präteritum (lachte, nannte) is more common.