committed by
Christopher McCormack
parent
527a1fd177
commit
d50c344772
@ -42,7 +42,7 @@ And now let's break the syntax down a bit:
|
|||||||
```C
|
```C
|
||||||
int arr[4] = {1, 2, 3, 88};
|
int arr[4] = {1, 2, 3, 88};
|
||||||
```
|
```
|
||||||
Here you have created an `array` of `ints`(Integers), called `arr`. This array has 4 elements: `1`, `2`, `3`, `88`. Note the syntax!
|
Here you have created an `array` of `int`(Integers), called `arr`. This array has 4 elements: `1`, `2`, `3`, `88`. Note the syntax!
|
||||||
```C
|
```C
|
||||||
datatype name[number of elements]
|
datatype name[number of elements]
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user