From 6ded2819f2de8650ba49f16b9388166a9cfb015c Mon Sep 17 00:00:00 2001 From: Manisha Kundnani <90680330+Manishak798@users.noreply.github.com> Date: Thu, 18 Jan 2024 22:26:53 +0530 Subject: [PATCH] Update arraydeclaration.cpp --- Arrays/arraydeclaration.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Arrays/arraydeclaration.cpp b/Arrays/arraydeclaration.cpp index dc9d1d3..9702baa 100644 --- a/Arrays/arraydeclaration.cpp +++ b/Arrays/arraydeclaration.cpp @@ -3,9 +3,9 @@ using namespace std; int main() { // int A[5]; // array of size 5 without initializing - int A[4] = {1, 2, 3, 4}; + int A[5] = {1, 2, 3, 4,5}; cout << A[1]; cout << endl << A[2]; return 0; -} \ No newline at end of file +}