When you sell food to the General Store, the townsfolk can go there to obtain their food. However, the food that you harvest and sell will still be available to your townsfolk only on the day you sell it. The next day, when the store proprietors get new stock, the food will no longer be available.