Does metal really expand when heated?

No.11537467 ViewReplyOriginalReport
When something is stuck in a metal hole the answer is to heat the metal to make it “expand”, but wouldn’t this make it harder to pull out?