CSC166 ยท 2076 ยท 5 marks
What is destructor? Write a program to show the destructor call such that it prints the message 'memory is released'.
What is destructor? Write a program to show the destructor call such that it prints the message 'memory is released'. [5]
Object Oriented ProgrammingChapter 3: Classes & ObjectsInitialization of class objects