친구의 공인회계사 시험 최종 합격 소식을 [듣자마자] 꽃다발을 사 들고 축하해 주러 달려갔어요.
듣자마자 ('the instant I heard') demonstrates how -자마자 captures emotional spontaneity: hearing a friend passed the CPA exam triggers an immediate run to Jongno Flower Market. Notably, 듣다 ('to hear') is a ㄷ-irregular verb, yet it keeps its ㄷ batchim before consonant-initial -자마자.
Sentence Structure
Korean builds the full noun phrase first—what the news was about (친구의 공인회계사 시험 최종 합격 소식을)—before sealing it with 듣자마자. The celebratory action (꽃다발을 사 들고 축하해 주러 달려갔어요) unfolds at the end.
Do not turn ㄷ into ㄹ before -자마자, because ㄷ only becomes ㄹ before vowel-starting endings (들어요). ❌ 합격 소식을 들자마자 갔어요 (들자마자 means 'as soon as I lifted/entered'!) → ✅ 합격 소식을 듣자마자 갔어요.
In real conversation, people often say 소식 듣자마자 or 카톡 보자마자 ('as soon as I saw the KakaoTalk message'), while 소식을 접하자마자 sounds slightly more formal or journalistic.