Rotate matrix in c without [] : I need to rotate a matrix and call the funcion without use [ ],
I can't even think on a solution. 

    void _90DegClockwise(int *pS, int row, int col) {
     	for (int i = 0; i < row; ++i)
    	{
    		for (int j = i + 1; j < col; j++) {
	    		int temp;
    			temp = (int)(pS);
    			*((int*)((pS + i) + j)) = (int*)((pS + j) + i);
               (int*)((pS + j) + i) = temp;
	    	}
	    }
    }
I don't know hou to insert a value to matrix or how to swap
