Write a function (template) for array input
void input_arr(T *arr , int &n)and for array output
void output_arr(T *arr , int n)The first line contains the number — the number of elements in the array.
The next line contains values of the same type.
Values can be numbers, strings, etc.
In one line, print elements of the array that were entered.