I have been started learning C++. Now when I came across dynamic memory allocation I heard of pointers... But in this concept there is a problem of memory leak. So my confus