0_0_29307300_15483.cpp: In function 'int main()': 0_0_29307300_15483.cpp:19:13: error: 'arr' was not declared in this scope arr[i][i]=0; ^