What is the difference between stack and heap memory?
Answer Posted / nashiinformaticssolutions
o Stack: Memory is allocated and deallocated automatically.
o Heap: Memory is allocated dynamically using new or malloc.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the use of dot in c++?
How java is different from c and c++?
Can you explicitly call a destructor on a local variable?
What does obj stand for?
Explain the static member function.
What kind of jobs can I get with c++?
Define token in c++.
Is java the same as c++?
What is the benefit of encapsulation?
What are static type checking?
What are the various arithmetic operators in c++?
On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?
What is long in c++?
What is c++ best used for?
What does namespace mean in c++?