| 1 | #include<bits/stdc++.h> |
| 2 | using namespace std; |
| 3 | int main() |
| 4 | { |
| 5 | /* |
| 6 | |
| 7 | Arrays Advantages: |
| 8 | 1.random access |
| 9 | 2.cache friendly |
| 10 | |
| 11 | Types of Arrays: |
| 12 | 1.fixed size |
| 13 | eg: |
| 14 | int arr[100] stack allocated |
| 15 | int arr[n] stack allocated |
| 16 | int arr[]={10,20,30} stack allocated |
| 17 | int *arr=new int[n] heap allocated |
| 18 | |
| 19 | 2.dynamic size |
| 20 | eg: |
| 21 | vector<int> v heap allocated |
| 22 | |
| 23 | */ |
| 24 | |
| 25 | return 0; |
| 26 | } |
nothing calls this directly
no outgoing calls
no test coverage detected