Hi,
I am confused about the prototype of the function.
void rotate(int** matrix, int matrixSize, int* matrixColSize);
here, in the function prototype
return is void.
matrix is 2D array pointer.
matrixSize -? is it row size?
* matrixColSize - ? if it is column size, why is it a pointer and why is it even required as it is mentioned that matrix is NxN not NxM.
Thanks.