2078 4

BIT153 ยท 2078 ยท 5 marks

Explain Memory Management Operators of C++ with example.

Explain Memory Management Operators of C++ with example. [5]

Object Oriented ProgrammingChapter 4: Pointers, References, and Memory ManagementMemory management operators

C++ provides two special memory management operators for dynamic memory allocation and deallocation at runtime: 1. new operator 2. delete operator These operators allow programs to request memory from the heap (free store) during program execution, rather than using fixed compile-time allocation....