For this Question: Given a matrix of N*N dimensions. Take the input and display the matrix as an output.First line contains N. 
N lines follow each containing N space seperated integers.

Constraints:-
2 <= N <= 500
1 <= Mat[i][j] <= 1000Print the given matrix.Input:
2
3 4 
7 6

Output:
3 4 
7 6

Input:
3
1 2 3
4 5 6
7 8 9

Output:
1 2 3
4 5 6
7 8 9, I have written this Solution Code: 
#include <bits/stdc++.h>
using namespace std;




int main()
{

    int n;
    cin>>n;
    int arr[n][n];
    for(int i=0;i<n;i++){
            for(int j=0;j<n;j++){
        cin>>arr[i][j];

    }}
for(int i=0;i<n;i++){
            for(int j=0;j<n;j++){
        cout<<arr[i][j]<<" ";

    }
    cout<<endl;}
}
, In this Programming Language: C++, Now tell me if this Code is compilable or not?