CSC166 ยท 2076 ยท 5 marks
What is use of new and delete operators? Illustrate with example. What are advantages of new over malloc.
What is use of new and delete operators? Illustrate with example. What are advantages of new over malloc. [5]
Object Oriented ProgrammingChapter 2: Basics of C++ programmingDynamic Memory Allocation with new and delete