If an executable file has global variable, and you run the executable 2 times simultaneously, does each executable has its own global variable?
If a dynamic linked library has global variable, and you run an executable that uses this library 2 times simultaneously, does each executable have its own global variable?
If a static linked library has global variable, and you run an executable that uses this library 2 times simultaneously, does each executable have its own global variable?