0_0_23504424_17013.cpp: In function 'int main()': 0_0_23504424_17013.cpp:49:22: error: 'i' was not declared in this scope cout<<getsum(i); ^