0_0_25543569_16061.cpp:4:11: error: '::main' must return 'int' void main(){ ^ 0_0_25543569_16061.cpp: In function 'int main()': 0_0_25543569_16061.cpp:10:25: error: 'memset' was not declared in this scope memset(a, 0, sizeof(a)); ^