Powdered sugar, with its finely ground texture, clings to other ingredients like butter in a different manner than granulated ...
To do that, add a cup of granulated ... sugar has expired if you notice any changes in the odor, quality, or color of the sugar. But if it looks and smells fine, you should be good to go.