Hi,
Im trying to figure out a way to shift an array on integers x number of steps.
for example, shifting the array,
one step would result in:
Any ideas?
Im trying to figure out a way to shift an array on integers x number of steps.
for example, shifting the array,
Code:
array[] = { 0,1,2,3,4,5,6,7,8,9 }
Code:
array[] = { 9,0,1,2,3,4,5,6,7,8 }
Any ideas?