0_0_19882914_7080.cpp: In function 'int main()': 0_0_19882914_7080.cpp:24:20: error: 'k' was not declared in this scope printf("%d\n",a[k]); ^