0_0_18764118_24548.cpp:32:19: error: expected constructor, destructor, or type conversion before '(' token printf("%d\n",sum); ^ 0_0_18764118_24548.cpp:33:9: error: expected declaration before '}' token } ^