In a C++ program, for a class, how can we get the counts of the number of active objects at any point of time which are statically created and dynamically created separately??

c++
Edit
Report