Nothing to be different between static and non-static global variable.
Once you defined them in your project, compiler will allocate them with a fixed memory space without dynamically on stack. i.e, the space of global variable is allocated when program is loading, the space of dynamic variable is allocated on stack when program is running. usually, dynamical variable is used in some functions.