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

Function main

CPP/array-2d/rodate_array.cpp:29–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28}
29int main()
30{
31 int n,i,d, arr[10];
32
33 cout << "\nPlease Enter the Array Size = ";
34 cin >> n;
35 cout<<"enter array elements:"<<endl;
36 d=2;
37 for(i=0;i<n;i++){
38 cin>>arr[i];
39 }
40 rotate(arr,n,d);
41 print(arr,n);
42 return 0;
43}

Callers

nothing calls this directly

Calls 2

rotateFunction · 0.85
printFunction · 0.70

Tested by

no test coverage detected