In C++, there are two techniques for allocating memory. Static Memory Allocation, commonly known as Compile Time Allocation, is one of them. The other is known as Run Time Allocation and is also known as Dynamic Memory Allocation.
Using the new and delete operators in C++, you can allocate and deallocate objects dynamically. The free store is a pool from which these operators allocate memory for objects.
In C++, we can allocate memory for a variable or an array during runtime. Dynamic memory allocation is the term for this.
A request for memory allocation on the Heap is represented by the new operator. If there is enough memory, the new operator allocates it and returns the location of the newly allocated and initialized memory to the pointer variable.
Superb and amazing 😍🤩 enjoyable experience.
The course was very informative. and helpful. A few more exercises and less grammatical error on the notes could have made the course even better..
Deep Kumar Biswas
I love so much. I am grateful for making such an amazing site for all the common people. It has been very helpful to me. I can learn a lot from it. Thank you so much for creating such a site.Thank you