For this Question: Insertion is a basic but frequently used operation. Arrays in most languages cannnot be dynamically shrinked or expanded. Here, we will work with such arrays and try to insert an element at the end of array. 

You are given an array arr. The size of the array is N. You need to insert an element at its end and print this newly modified array.The first line of input contains T denoting the number of testcases. 
T testcases follow. Each testcase contains two lines of input. 
The first line contains size of the array denoted by N and element to be inserted. 
The third line contains N elements separated by spaces. 

Constraints:
1 <= T <= 20
2 <= N <= 10000
0 <= element, arri <= 10^6For each testcase, in a new line, print the modified array.Input:
2
5 90
1 2 3 4 5
3 50
1 2 3


Output:
1 2 3 4 5 90
1 2 3 50

Explanation:
Testcase 1: After inserting 90 at end, we have array elements as 1 2 3 4 5 90. 
Testcase 2: After inserting 50 at end, we have array elements as 1 2 3 50., I have written this Solution Code: #include<bits/stdc++.h>
using namespace std;
int main() {
    int t;
    cin>>t;
    while(t--) {
        long int n, el;
        cin>>n>>el;
        long int arr[n+1];
        for(long int i=0; i<n; i++) {
            cin>>arr[i];
        }
        arr[n] = el;
        for(long int i=0; i<=n; i++) {
            cout<<arr[i];
            if (i != n) {
                cout<<" ";
            }
            else if(t != 0) {
                cout<<endl;
            }
        }
    }
    return 0;
}, In this Programming Language: C++, Now tell me if this Code is compilable or not?