0_0_32029080_18432.cpp: In function 'int main()': 0_0_32029080_18432.cpp:20:13: error: 'i' was not declared in this scope for(i=2;i<=N;i++) ^ 0_0_32029080_18432.cpp:24:25: error: 'i' was not declared in this scope printf("%d\n",a[i-1]); ^