In emphatic questions, it's common to see or hear an interjection such as the heck — or something more vulgar — between the interrogative and the verb. What was that? becomes What the heck ...
Where did these interjections: man! (oh) boy! oh brother come from, and why are they all male? If you don’t know their current meanings as interjections, it sounds very strange to say Man! when ...