Page 1 of 1

Which option is best to eliminate the memory problem?

Posted: Wed Jul 13, 2022 7:52 pm
by answerhappygod
a) use smart pointers
b) use raw pointers
c) use virtual destructor
d) use smart pointers & virtual destructor