CPP Array
[Array Data](https://texonom.com/array-data-feb68e8ee875408c85fba2f81805e4f9) [C Pointer](https://texonom.com/c-pointer-564e99b3e4144f638f887f1db1a34918) 


## Constant Pointer
C++ will let you go beyond range
- Unpredictable results
- Compiler will not detect these errors
```typeint children[3] = {2, 12, 1}int b[] = {5, 12, 11};double n, a[10];```
Fills rest with zero of array base type if fewer values than size supplied
Indexed variable handled same as simple variable of array base type

### Standard Array is fixed size



### 3 pieces of array
because it is allocated back to back
- Address of first indexed variable
- Array base type
- Size of array
So if length is 1, it is similar to [CPP Reference Type](https://texonom.com/cpp-reference-type-e14b91fc42144c32960dadf2b217dd50) 

### Dynamic Array
Array type NOT allowed as return-type of function, so use * is legal
```typed = new double[10];```







