In “The Gift of the Magi” by O. Henry, Jim sells his pocket watch to buy combs for Della, while Della sells her hair to buy Jim a chain for his pocket watch. This is an example of what literary element?
A. foreshadowing
B. satire
C. irony
D. allegory