Hello friends..! I just have a doubt in this concept..
I know it is a must to free up memory at the end, when it is allocated in the beginning of any program.. Otherwise, it would become un-usable junk..
Now, my question is what will be the consequence of this code:
This program uses the allocated memory and if i failed to delete those memory, totally 800,000,000 bytes would become waste...
using namespace std;
long long a,b,c,d,e;
long long d=0;
xxx *a = new xxx;
xxx *b = new xxx;
// delete a;
// delete b;
Will this kind of code much harmful to pc..??
How can i recover those wasted memory...??
Please help me in these issues...!!!!