It does not matter if the process is parent or child. All processes are executed in their own memory spaces, isolated. Some address, say, if a variable in one process can be something different in another one, or it would not be a valid address at all. Nevertheless, for debugging and system-level purposes, one process can access memory and even control another process. In Linux, you can use
ptrace
:
http://www.linuxmanpages.com/man2/ptrace.2.php[
^].
—SA