What's the difference between these two capacitor wirings?

I've seen those wired to ground like that, and not connected to VCC but some other pin where it just needs a capacitor to ground. #1 is far more common and actually useful.