Day: January 22, 2021

Dynamic Allocation in C++

C++ provides allocation and deallocation functions ‘new’ and ‘delete’ similar to the malloc() and free() function in C. The main advantage of dynamic allocation is...

C++ References

A reference is essentially an implicit pointer that acts as another name for an object. One important use for a reference is to allow you...