Pointers and Arrays

Topic: 
--C/C++ 
Description: 

 

A pointer is a variable that contains the address of a variable. In C, they are sometimes the only way to express a computation, partly because they usually lead to more compact and efficient code than can be obtained in other ways.

Pointers and arrays are closely related.