a memory that has no pointer pointing to it and


A: Memory that has no pointer pointing to it and there is no method to delete or reuse this memory(object), it causes Memory leak.

{

Base *b = new base();

}

Out of this scope b no longer present, however the memory it was pointing to was not deleted. Pointer b itself was destroyed while it went out of scope.

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: a memory that has no pointer pointing to it and
Reference No:- TGS0217540

Expected delivery within 24 Hours