0_0_19382415_15880.cpp: In function 'int main()': 0_0_19382415_15880.cpp:11:13: error: 'a' was not declared in this scope scanf("%d",&a[i]); ^