code:class SquareMatrix{ public: SquareMatrix(int n); private: int matrix[][]; } SquareMatrix::SquareMatrix(int n) { matrix = new int[n][n]; }