Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void shift(int x[], int n)
- {
- int aux=x[0];
- for(int i=1;i<n;i++)
- x[i-1]=x[i];
- x[n-1]=aux;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement