Restrict dynamic deletion of objects created on stack

Many times we encounter a situation where we need to delete a pointer but we are not sure that how this pointer is created i.e. either on Heap or on stack.

Restrict dynamic deletion of objects created on stack Read More »