0_0_25057980_13568.cpp:18:8: error: expected constructor, destructor, or type conversion before '(' token printf("%d\n",sum); ^ 0_0_25057980_13568.cpp:19:1: error: expected declaration before '}' token } ^