If your CPU and OS provide a virtual memory system then every address your program deals with is going to be a virtual address. It is not going out map onto any specific physical memory location.
In such a system to gain access to a particular physical memory location you have to in effect write a device driver. Very few mainstream OSes allow unfettered access to physical memory to user space programs; that would completely break all of their security mechanisms!