Either way you'd have sales tax (tax stamps), recording fees, attorney fees, inspection/appraisal/title fees and in the case of selling building only then transportation & utility costs (installation, removal, upgrading, relocating etc.). All the costs would be property specific and the entitiy selling the property would disclose approximate costs, you'd be wise to consult an experienced real estate attorney to review all documents & contracts to understands your rights & responsibilites.
Hope that helps,
Sometimes Listing Agent advertise a property for $1.00 to solicit offers. It is a ploy to generate interest the same way as when a Listing Agent underprices a property and advertises an open house a week or two out and will not show the property until that Open House. They know that it will most likely end in buyers bidding up the property. So to answer your question, a house advertised for $1 could sell for $260,000 because that's where the bidding stopped.
If you mean you saw a property that sold for $1 it was probably a transfer within a family.