Why Dynamic memory allocation by using pointers provides an efficient way of utilizing computer memory but such memory allocation may be problematic if not handled properly in program.
Jump to Post
So, what is your question? Have you written some sample code for us to look at?
In any case, heap management is what you are talking about, and there are a lot of techniques to properlyl manage it. How you do it in C vs C++ are very different, and …
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.