C++ * operator in pointer

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
The error is: <Unable to read memory>
It seems your program doesn't have the permission to read the memory.
Thank you.
Topic archived. No new replies allowed.