a) use smart pointers
b) use raw pointers
c) use virtual destructor
d) use smart pointers & virtual destructor
Which option is best to eliminate the memory problem?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Which option is best to eliminate the memory problem?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!