C++ * operator in pointer

Jun 6, 2017 at 8:16am
Write your question here.

1
2
  	int* x = (int*)0x00509B74;
	cout << *x << endl;


When i run this code and tried to see the value that is *x.
It makes Error. just operation stopped.

*x is a pointer's address that keep changing when restarts.
Last edited on Jun 6, 2017 at 8:33am
Jun 6, 2017 at 8:27am
The error is: <Unable to read memory>
It seems your program doesn't have the permission to read the memory.
Jun 6, 2017 at 9:01am
Thank you.
Topic archived. No new replies allowed.