Pointer vs Array A pointer is a data type that holds a reference to a memory location (i.e. a pointer variable stores an address of a memory location in which some data is stored). Arrays are the most commonly used data structure to store a collection of elements. Most programming languages provide methods to easily […]