0_0_34468637_6699.cpp: In function 'int main()': 0_0_34468637_6699.cpp:18:4: error: 'temp' was not declared in this scope temp=a[k]; ^