0_0_17908183_23012.cpp: In function 'void init()': 0_0_17908183_23012.cpp:28:12: error: 'sum' was not declared in this scope memset(sum, 0, sizeof(sum)); ^