Why would there be any particular value at some random address (0x6dfee4)? You are not accessing legal memory. You might just get junk back, your program might crash, or worse: it won't crash.
In any modern OS, all programs use their own virtual address space. The address in one program is not the same as the address in another program, and even if it were, programs are generally isolated so it's illegal to access the memory of another program.
Unless you're programming for very specific hardware, you should not be expected to be allowed to access a random memory address like that.
____________________________________________
To actually access the memory of another program, you need to use the API of whatever OS you're on. This is beyond what I've dabbled in, but you need to set up some sort of hook or special read function.
In Windows, for example, see:
https://stackoverflow.com/a/8192189/8690169