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
How delete [] is different from delete?
What are c++ redistributables?
How does list r; differs from list r();?
What is the basic difference between C and C++?
give me an example for testing a program showing the test path .show how the test is important and complex.
How are pointers type-cast?
Can constructor be private in c++?
Explain virtual destructor?
How do you print a string on the printer?
State two differences between C and C++.
Explain differences between alloc() and free()?
Do you know what are static and dynamic type checking?
What are containers in c++?
Can member functions be private?
Is c better than c++?