C++ Arrays - Bowdoin College

C++ Arrays Arrays Used to store a collection of elements (variables) type array-name[size]; Meaning: This declares a variable called <array-name> which contains <size> elements of type <type> The elements of an array can be accessed as: array-name[0],…array-name[size-1] Example: int a[100...

Author:
Uploaded by: Murkka Svensdottir
Filesize: 15 KB