Tag Archives: java developer

Heap vs. Stack in C++

After the study of pointers versus references, the second natural question that comes in head of a ex Java developer turning to C++ is: “What are the difference between static and dynamic memory allocation in C++?” which can be translated as: “When should I use the stack and when do I have to use the