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