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...

Working with Pointers in C

A pointer is a variable that represents the location of a data item, such as a variable or an array element. Pointers are used frequently in C, as they have a number of useful applications. For example, pointers can be used to pass information back and forth between a function and its reference point. Pointers provide a way to return multiple data items from a function via function arguments to
be specified as arguments to a given function.