Skip to content

Commit

Permalink
Update arraydeclaration.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishak798 authored Jan 18, 2024
1 parent 31c77bf commit 6ded281
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Arrays/arraydeclaration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit 6ded281

Please sign in to comment.