R.K. Narayan employs several comedic techniques in the short story "A Hero":
The unnamed protagonist craves fame. When he accidentally becomes a "hero" by catching a thief, his pride quickly turns to panic as media attention overwhelms him—mocking the fickle nature of celebrity.
A minor act (tripping a burglar) becomes a national sensation. The disproportionate reaction (reporters camping outside, the "hero" hiding in a cinema) amplifies the ridiculousness.
Narayan's deadpan, simple narration makes the absurd events feel mundane, heightening the comedy through contrast.
Wife, reporters, and police each react in comically self-interested ways, framing the hero's discomfort.
Result: A gentle, insightful satire on fame, media, and human pretension.