Loop to shift an array by a given number of elements C++

 

v20221217