0_0_22318895_17531.cpp: In function 'int main()': 0_0_22318895_17531.cpp:66:13: error: redeclaration of 'int k' int k=n; ^ 0_0_22318895_17531.cpp:62:13: note: 'int k' previously declared here int k=n; ^