What is Pointer in C++ programming?

What are the different types of pointers?

A pointer is a variable which contains the address of memory and obtaining the value stored at that location is known as dereferencing the pointer. The use of pointers for passing alterable variables to subroutines has another use - we can store memory and work faster because it does not have to duplicate the data. A C++ program, the memory of a PC resembles a progression of memory cells, every one byte in measure, and each with a one of a kind address.