Thursday, March 28, 2013

Types of constant pointers in C++

In C++ there are basic three types of constant pointers exist. Pointer that pointed to some constant data. Pointer that constantly pointed to some memory location. Pointer that constantly pointed to some constant data. Pointer that pointed to some constant data. const datatype * pointerName; dataType const * pointerName Here the...