I know this from RFC 246:
- constants declare constant values. These represent a value, not a memory address. This is
There's not much practical difference if your variable isn't intended to change.
Constants are inlined at compilation, which means they're copied to every location they're used, and thus are usually more efficient, while statics refer to a unique location in memory and are more like global variables.
Constants are... constant while statics, while still global, can be mutable.