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 to access a variable of the structure?
Specify different types of decision control statements?
What is the type of this pointer in c++?
What are the unique features of C++.
What is #include ctype h in c++?
How do you remove an element from a set in c++?
Define a nested class.
Explain how to initialize a const data member.
What is scope in c++ with example?
Difference between inline functions and macros?
What is a dll entry point?
What is new in c++?
What is the meaning of string in c++?
Explain mutable storage class specifier.
What is capacity in vector in c++?