MCPcopy Create free account
hub / github.com/devparthgarg/Data-Structures-and-Algorithms / main

Function main

05. Arrays/Introduction.cpp:3–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include<bits/stdc++.h>
2using namespace std;
3int 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected