Hello i have a program to solve, i am quite good in reverse engineering...that is i will understand the program more efficiently when i have it solved.
kindly help me to, below is a small program regarding memory and pointers in C++
and for the deallocating part and setting to NULL you should do this
doubleArray = NULL;
This is the old way for some.
There is the new unique_ptr and other kind of ptr. Well, I don't really know much about them so I can't explain to you about it.
From what I know those pointer doesn't need cleaning up as they clean up on destruct