0_0_38371453_1292.cpp: In function 'int main()': 0_0_38371453_1292.cpp:28:10: error: redeclaration of 'int p' int p; ^ 0_0_38371453_1292.cpp:18:19: note: 'int p' previously declared here int x; int k, p; ^