Main.cc: In function 'int main()':
Main.cc:8:11: error: 'i' was not declared in this scope
int a[i],n,i,c;
^
Main.cc:10:14: error: 'a' was not declared in this scope
cin>>a[i];
^
Main.cc:13:11: error: 'a' was not declared in this scope
c=a[i];
^
Main.cc:18:14: error: 'a' was not declared in this scope
cout<