From 958c086a8ead25fdfbd85115dc7dbb4fdcdeb40d Mon Sep 17 00:00:00 2001 From: Vishal Kichloo <31816531+kichloo@users.noreply.github.com> Date: Tue, 13 Nov 2018 04:03:42 +0530 Subject: [PATCH] Added the disadvantage of the array. (#21379) --- guide/english/c/arrays/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guide/english/c/arrays/index.md b/guide/english/c/arrays/index.md index e3108dce5c4..6da328c5435 100644 --- a/guide/english/c/arrays/index.md +++ b/guide/english/c/arrays/index.md @@ -168,3 +168,5 @@ The reason for C not checking the indexing bound is simple: C is an efficient la - When you try to access the last element of the array. Suppose the length of the array A be 4 and while accessing the last element as A[4] will return an error, as the the indexing starts from 0. + +But, the disadvantage of array is that the memory required should be allocated before the run time of the program.