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

Function Swap

Arrays/12_Rotate_and_Shift.cpp:17–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16}
17void Swap(int *x,int *y)
18{
19 int temp=*x;
20 *x=*y;
21 *y=temp;
22}
23
24void Reverse(struct Array* arr) // function for reversing the array
25{

Callers 1

Reverse1Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected