Write a program to rotate a square matrix 90 degree clockwise (using in-place method) - C - OneCompiler