Simple Solution:
Here’s how to yank out a nail after the nail head has snapped off. Slip the hammer’s claw around the exposed nail shaft, then clamp locking pliers onto the nail shaft very close to the claw. Slowly pull back on the hammer handle until the nail starts to pull out. Stop, reposition the hammer claw and pliers, and repeat. This tip also works when yanking finishing nails.