We are committed to provide service 24 X 7

Deals, Shopping, Training, Tools

Tag: Rise

Difference between delete & []delete and rise of Memory Leaks

In this article we will discuss the difference between delete &  []delete and how mixing new [] with delete can give rise to Memory Leaks. To allocate memory dynamically on heap we use new[] operator i.e. Advertisements class Sample; Sample * ptrArr = new Sample[5]; Here new[] performs following operations internally, In first step, it …

Difference between delete & []delete and rise of Memory LeaksRead More

8
216.256,95