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