Skip to content
This repository has been archived by the owner on Apr 1, 2021. It is now read-only.

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
jainaman224 committed Jun 1, 2016
1 parent 5920fbf commit 48f0076
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Data-Structure-Arrays.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,6 @@ intarray[1] = 0; // Inserts an integer value of 0 at index 1
intarray[2] = -1; // Inserts an integer value of -1 at index 2
intarray[3] = 1; // Inserts an integer value of 1 at index 3
intarray[4] = "dd"; // Would give a TypeError as the array is of integer type.
// Resolve the above error and then move ahead.
```

#### Printing an `array`:
Expand All @@ -119,4 +115,4 @@ std::cout << sizeof(intarray[0]) << std::endl; // Returns length in bytes of one

```

:rocket: [Run Code](https://repl.it/CWZE/2)
:rocket: [Run Code](https://repl.it/CWZE/3)

0 comments on commit 48f0076

Please sign in to comment.