how do i replace a fence post that was also used as a deck footing?
Use a sledgehammer and a large punch to drive out the old bolts. For one-time use, a spike just smaller in diameter than the bolts, with the tip cut off flat may work well-enough at a lower cost, if you don't have a large punch on hand.