0_0_20175731_4313.cpp: In function 'int main()': 0_0_20175731_4313.cpp:22:29: error: 'memset' was not declared in this scope memset(sum, 0, sizeof(sum)); ^