Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
shimon1024 committed Sep 21, 2019
1 parent a23c2c3 commit 211794b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 022-implement-array.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ struct array_int_3 { int storage [3] ; } ;

int main()
{
array_int_10 a = { 0,1,2 } ;
array_int_3 a = { 0,1,2 } ;

array_int_10 b = a ;
array_int_3 b = a ;
// b.storage[0] == a.storage[0]
// b.storage[1] == a.storage[1]
// b.storage[2] == a.storage[2]
Expand Down

0 comments on commit 211794b

Please sign in to comment.