Main.cc: In function 'int main()': Main.cc:12:10: error: 'n' was not declared in this scope c=sum(1,n); ^