Does anyone know how to rotate a 2d matrix circularly for n times in suppose C language...? It would be a lot of help if you could explain with code.
Hint : Each time each row vector needs to be rotated one element to the right relative to the preceding row vector.