Question: do forked processes share memory?
Answer: Recall that when a process forks, the new child process has an identical copy of the variables of the parent process. After fork the parent and child can update their own copies of the variables in their own way, since they dont actually share the variable.