Pointers

how can i change address of a variable.

like a int variable is stored in 0x0022f8c (and its holding value 89)
how can i move that to 0x0022f9f (memory location not a file address).
The simple answer is don't. You should not be trying to dictate memory allocation like this, the OS is much better at it then you are. What are you trying to accomplish? There might be a better way to do it.
Topic archived. No new replies allowed.