Global variable - multiple instances running

Hello Forum,

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?

Thank you.
Yes, yes, yes.

Nice. Thank you.
Topic archived. No new replies allowed.