It's supposed to change the value at 0x100579C. I don't see anything wrong with it. But when I run the code, the compiler produces an error.Code:#include <iostream> using namespace std; int main() { int * pointer = 0x100579C; //ERROR ZONE *pointer = 1; delete pointer; system("PAUSE"); return 0; }
How would you fix this? Thanks!invalid conversion from `int' to `int*'