Chapter 14
C++ and Memory Models
CHAPTER OUTLINE
14.3 Dynamic Memory Allocation
14.4 The new and delete Operators
14.6 Overloading new and delete Operators
14.7 Overloading new and delete in Classes
14.8 Execution Sequence of Constructor and Destructor
14.1 INTRODUCTION
Memory is one of the critical resources of a computer system. It is limited and can also be exhausted. One should be conscious about the memory modules while an application is being developed. In this chapter, we will learn about stack, the heap, dynamic memory allocation, dynamic objects, and calling conventions.
14.2 MEMORY ...
Get Programming in C++, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.