0_0_28179518_27195.cpp:3:11: error: '::main' must return 'int' void main() ^ 0_0_28179518_27195.cpp: In function 'int main()': 0_0_28179518_27195.cpp:8:23: error: 'memset' was not declared in this scope memset(a,0,sizeof(a)); ^