> Online tutorial : arrayintro
Showing posts with label arrayintro. Show all posts
Showing posts with label arrayintro. Show all posts

array

Rows and tables of storage.
  Arrays are a convenient way of grouping a lot of variables under a single variable name. Arrays are like pigeon holes or chessboards, with each compartment or square acting as a storage place; they can be one dimensional, two dimensional or more dimensional! An array is defined using square brackets [].

For example: an array of three integers called "triplet" would be declared like this:

int triplet[3];