I'm getting a variable array problem in Sublime Text 3 even after building the system with MinGW64.
#include <bits/stdc++.h>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
cout<<(a+b)<<endl;
int n;
int arr[n];
for(int i=0;i<n;i++)
{
cin >> arr[i];
}
for(int i=0;i<n;i++)
{
cout<<arr[i]<<endl;
}
cout<<"hello";
return(0);
}