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 abstraction in c++ with example?
What are libraries in c++?
What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?
Explain the difference between class and struct in c++?
Which is not a valid keyword a) public b) protected c) guarded
Explain the scope of resolution operator.
What is flush programming?
Why c++ is so important?
What is #include cstdlib in c++?
What are the benefits of c++?
What do you know about near, far and huge pointer?
What character terminates all character array strings a) b) . c) END
What are inline functions? What is the syntax for defining an inline function?
What are exceptions c++?
Mention the ways in which parameterized can be invoked. Give an example of each.