Global and static variables are nulled automatically by the compiler. This does
not cost any CPU cycles because they are stored as placeholders within the executable. The more global variables the bigger the EXE.

Local variables on the other side are created at runtime.