From db6756aaa226a67e2a6868cb85b4a1823bb1db5f Mon Sep 17 00:00:00 2001 From: sah-pinocchio <44533420+sah-pinocchio@users.noreply.github.com> Date: Sat, 11 May 2019 23:37:29 +0430 Subject: [PATCH] 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 --- guide/english/cplusplus/arrays/index.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/guide/english/cplusplus/arrays/index.md b/guide/english/cplusplus/arrays/index.md index cb703f59aa7..b60e492eb6a 100644 --- a/guide/english/cplusplus/arrays/index.md +++ b/guide/english/cplusplus/arrays/index.md @@ -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.