For uninitialized cells, the value of each bit is not fixed and may be 1 or 0, depending on the result of the last address used.
Whether the global integer variable is 0 before initialization depends on the compiler. Some compilers may have completed the "clean-up" and some may not have completed it.
Get into the good habit of "initializing variables before use".