I am rather new to C programming and I am trying to learn as much as possible.

We recently had an assignment centered around 2D arrays.

We had to write several functions...

InitializeAllZeroes2D

PopulateRandom2D

BubbleSort2D

LinearSearch2D and

PrintArray2D

I got them all, but there is a BONUS point.

I need to perform a single left shift on the 2D array which moves

the first element Array[1] [1] to the last element Array[R] [C],

(where R and C are the size dimensions of the array) and in

doing so, all of the other elements should move one index to

the left.

And I can't figure it out!!!!

I'm not looking for a coded answer. I prefer to figure it out on my own.

What I hope to get here, is a starting point or a push in the right direction.

Some advice as to how to tackle the problem.

I know I need to store the first element of the array in a temp variable,

so I can store it in the last element later, but I don't know how to

move all of the other elements before replacing it.

Any advice is appreciated.