It's not decided based on the initialized value of the static variable.
If a static/global variable is initialized then stored in initialized data segment .
and if static variable/global is not initialized then it will be stored in uninitialized data segment knows as BSS. So that it so extra care we need to take like before executing the code those variables present in BSS can be initialized with zero.