add the text in definition of Array. (#30662)

* add the text in definition of Array.

add the text " by adding an index to a unique identifier" after "An array is a series of elements of the same data type which are stored in contiguous memory locations and can be referenced individually".

* fix: changed c++ to cpp
pull/31683/head^2
sah-pinocchio 2019-05-11 23:37:29 +04:30 committed by Randell Dawson
parent 96fa4288f6
commit db6756aaa2
1 changed files with 1 additions and 2 deletions

View File

@ -13,9 +13,8 @@ For example, an array containing 5 integer values called numbers is declared lik
int numbers [5];
```
Initializiation:
Initialization with values:
```cpp
//Initialization with values:
int numbers [5] = {1, 2, 3, 4, 5};
//When initializing an array with values, the first value will be stored as the first element, the second value will be stored as the second element, ect... so the first element in this array is the value 1, and the third element is the value 3.