Explain memory management operator in cpp with a program
Answers
Answered by
0
✔✔✔✔Ur answer✔✔✔✔
✔✔✔✔new and delete operators in C++ for dynamic memory. ✔✔
✔✔✔✔Dynamic memory allocation in C/C++ refers to performing memory allocation manually by programmer. ✔✔
✔✔✔✔Dynamically allocated memory is allocated on Heap and non-static and local variables get memory allocated on Stack ✔(Refer Memory Layout C Programs for details).✔✔
✔✔✔✔new and delete operators in C++ for dynamic memory. ✔✔
✔✔✔✔Dynamic memory allocation in C/C++ refers to performing memory allocation manually by programmer. ✔✔
✔✔✔✔Dynamically allocated memory is allocated on Heap and non-static and local variables get memory allocated on Stack ✔(Refer Memory Layout C Programs for details).✔✔
Similar questions