MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / Display

Function Display

Arrays/05_inserting_an_element.cpp:9–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7 int length;
8};
9void Display(struct Array arr)
10{
11 int i;
12 cout<<"printing all the elements "<<endl;
13 for (i = 0; i < arr.length; i++)
14 cout << arr.A[i] << " ";
15}
16void Add(struct Array *arr , int x) // element to be inserted
17{
18 if (arr->length < arr->size)

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected