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

Function main

Arrays/12_Rotate_and_Shift.cpp:44–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43
44int main()
45
46{
47 struct Array arr1={{2,3,4,56,66,69,98},7,20};
48 // Call any one method to execute
49 Reverse(&arr1); // Shifting
50 Reverse1(&arr1); // 2nd method by swapping 1st with last i.e rotating
51 Display(arr1);
52 return 0;
53}

Callers

nothing calls this directly

Calls 3

Reverse1Function · 0.85
ReverseFunction · 0.70
DisplayFunction · 0.70

Tested by

no test coverage detected