Which option is best to eliminate the memory problem?
Posted: Wed Jul 13, 2022 7:52 pm
a) use smart pointers
b) use raw pointers
c) use virtual destructor
d) use smart pointers & virtual destructor
b) use raw pointers
c) use virtual destructor
d) use smart pointers & virtual destructor