Why do we need to store data in The Heap ?
We know that in C++ there are to places to store data - 1. The Stack and 2. The Heap . So why do we store and use the data in heap while we can just use the stack ? I know it maybe explained in the course but I am having problem to understand this . Please Help .