C++ Memory Management

By George Belotsky Published on Linux DevCenter (http://www.linuxdevcenter.com/) http://www.linuxdevcenter.com/pub/a/linux/2003/05/08/cpp_mm-1.html Everyone knows that memory management is a difficult and dangerous chore in C++. This series of three articles will show...

Pointers in C++

We can say the pointer as a variable which holds the memory address of another variable. If one variable contains the address of another variable, the first variable is said to point to the second. Declaring a Pointer If a variable is holding the address of another...

Pointers

Each memory location that we use to store the data hase an address in computre memory (RAM). Computer Hardware i.e. CPU uses this addess to reference to a particular data item. A pointer is a variable that stores the address of another variable. A pointer is a...