Skip to main content

Practice · 3 of 4

Classify the Symbols

CHALLENGE
Difficulty: advanced+25 XP

Implement const char *symbol_kind(char letter) mapping nm's type letters to names: 'T' → "text-defined", 'U' → "undefined", 'D' → "data-defined", 't' → "static-text", 'B' → "bss-defined", anything else → "other". The letter case distinction between T and t is the external/static boundary.

Back to lesson: Practice: Pipeline Drills