This is about C in Linux.
I have fork() in main() where I create 2 child processes. Then, in both child process a run the function ab
fork()
main()
ab
Because of the virtual memory system, each child processes have its own variable with the same (virtual) address.
The same virtual addresses won't point to the same physical location.