Question: are static variables shared between processes?
Answer: No. It is not possible. Each process is in a separate address space. ... The only way for one process to see something in another processes address space is if the 2 processes have a common shared memory segment.