Cisco Interview Question

In virtual memory, can two different processes have the same address? When you answer "No" which is correct, how one process can access another process' memory, for example the debugger can access the variables and change them while debugging?

Interview Answer

Anonymous

Oct 22, 2018

The answer is Yes if by address you mean virtual address and No if the address means physical address. As in virtual address, the page table for both would point to a different physical address.