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 +}