0_0_23487629_27403.cpp: In function 'int main()': 0_0_23487629_27403.cpp:20:11: error: 'i' was not declared in this scope cout<<a[i]<<endl; ^